JavaScript

  • Revision slug: JavaScript
  • Revision title: JavaScript
  • Revision id: 231471
  • Created:
  • Creator: jchris
  • Is current revision? No
  • Comment page display name changed to 'JavaScript'

Revision Content

A re-introduction to JavaScript
An overview for those who think they know about JavaScript

JavaScript (sometimes shortened to JS) is a lightweight, interpreted, object-oriented language with first-class functions, most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Couchbase.

The JavaScript standard is ECMAScript. As of 2012, all modern browsers fully support ECMAScript 5.1. Older browsers support at least ECMAScript 3. A 6th major revision of the standard is being worked on. Progress of different new features can be followed on the dedicated wiki.

This section of the site is dedicated to the JavaScript language itself, the parts that are not specific to Web pages or other host environments. For information about APIs specific to Web pages, please see DOM. Read more about how DOM and JavaScript fit together in the DOM Reference.

Documentation

JavaScript Reference
This JavaScript reference includes complete documentation for JavaScript 1.5 and updates.
JavaScript Guide
Our primary guide about how to program with JavaScript.

Introductory articles

JavaScript technologies overview
Introduction to the web browser JavaScript landscape
JavaScript data structures
Overview of available data structures in JavaScript
Inheritance and the prototype chain
Explanation of the widely misunderstood and under-estimated prototype-based inheritance

Other

Canvas tutorial
<canvas> is the HTML5 element which can be used to draw graphics using scripting. It can for instance be used to draw graphs, make photo compositions or do simple (and not so simple) animations.
JavaScript Language Resources
A description of the JavaScript language standards.
Internet Explorer Standards Support Documents
Microsoft publishes documents that describe "variations, clarifications, and extensions to certain final approved web standards supported by Internet Explorer." Of these the ones that are related to JavaScript are:

View All...

Advanced resources

Idiomatic.js
Principles of Writing Consistent, Idiomatic JavaScript
Memory Management in JavaScript
Overview of how memory management works in JavaScript

Tools

View All...

Other resources

JavaScript Garden
A site with helpful information about the more esoteric parts of JavaScript.
JSWiki
A Github-based wiki that indexes libraries and resources

Related topics

AJAX, DOM, Server-Side JavaScript, DHTML, E4X, SpiderMonkey, Canvas

JavaScript is a trademark or registered trademark of Oracle in the U.S. and other countries.

{{ languages( { "de": "de/JavaScript", "es": "es/JavaScript", "fr": "fr/JavaScript", "it": "it/JavaScript", "ja": "ja/JavaScript", "ko": "ko/JavaScript", "pl": "pl/JavaScript", "pt": "pt/JavaScript", "ru": "ru/JavaScript", "zh-cn": "cn/JavaScript", "zh-tw": "zh_tw/JavaScript" } ) }}

Revision Source

<div class="callout-box"><strong><a href="/en/JavaScript_Documention/A_re-introduction_to_JavaScript" title="./A re-introduction to JavaScript">A re-introduction to JavaScript</a></strong><br> <span class="comment">An overview for those who <em>think</em> they know about JavaScript</span></div>
<div> <p><strong>JavaScript</strong> (sometimes shortened to JS) is a lightweight, interpreted, object-oriented language with first-class functions, most known as the scripting language for Web pages, but <a class="external" href="http://en.wikipedia.org/wiki/JavaScript#Uses_outside_web_pages" title="http://en.wikipedia.org/wiki/JavaScript#Uses_outside_web_pages">used in many non-browser environments</a> as well such as <a class="external" href="http://nodejs.org/">node.js</a> or <a class=" external" href="http://www.couchbase.com" title="http://www.couchbase.com">Couchbase</a>.</p> <p>The JavaScript standard is <a href="/en/JavaScript_Documention/Language_Resources" title="ECMAScript">ECMAScript</a>. As of 2012, all modern browsers fully support ECMAScript 5.1. Older browsers support at least ECMAScript 3. A 6th major revision of the standard is being worked on. Progress of different new features can be followed on the <a class="external" href="http://wiki.ecmascript.org/doku.php?id=harmony:proposals">dedicated wiki</a>.</p> <p>This section of the site is dedicated to the JavaScript language itself, the parts that are not specific to Web pages or other host environments. For information about APIs specific to Web pages, please see <a href="/en/DOM" title="en/DOM">DOM</a>. Read more about how DOM and JavaScript fit together in the <a href="/en/Gecko_DOM_Reference/Introduction#DOM_and_JavaScript" title="en/Gecko DOM Reference/Introduction#DOM and JavaScript">DOM Reference</a>.</p>
</div>
<table class="topicpage-table"> <tbody> <tr> <td> <h3 name="Documentation"><a href="/Special:Tags?tag=JavaScript&amp;language=en" title="Special:Tags?tag=JavaScript&amp;language=en">Documentation</a></h3> <dl> <dt><a href="/en/JavaScript_Documention/Reference" title="en/JavaScript/Reference">JavaScript Reference</a></dt> <dd><small>This JavaScript reference includes complete documentation for JavaScript 1.5 and updates.</small></dd> </dl> <dl> <dt><a href="/en/JavaScript_Documention/Guide" title="./Guide">JavaScript Guide</a></dt> <dd><small>Our primary guide about how to program with JavaScript.</small></dd> </dl> <h3>Introductory articles</h3> <dl> <dt><a href="/en/JavaScript_technologies_overview" title="./Guide">JavaScript technologies overview</a></dt> <dd><small>Introduction to the web browser JavaScript landscape</small></dd> </dl> <dl> <dt><a href="/en/JavaScript_Documention/Data_structures" title="Data structures">JavaScript data structures</a></dt> <dd><small>Overview of available data structures in JavaScript</small></dd> </dl> <dl> <dt><a href="/en/JavaScript_Documention/Guide/Inheritance_and_the_prototype_chain" title="en/JavaScript/Guide/Inheritance_and_the_prototype_chain">Inheritance and the prototype chain</a></dt> <dd><small>Explanation of the widely misunderstood and under-estimated prototype-based inheritance</small></dd> </dl> <h3>Other</h3> <dl> <dt><a href="/en/Canvas_tutorial" title="en/Canvas_tutorial">Canvas tutorial</a></dt> <dd>&lt;canvas&gt; is the HTML5 element which can be used to draw graphics using scripting. It can for instance be used to draw graphs, make photo compositions or do simple (and not so simple) animations.</dd> </dl> <dl> <dt><a href="/en/JavaScript_Documention/Language_Resources" title="./Language Resources">JavaScript Language Resources</a></dt> <dd><small>A description of the JavaScript language standards.</small></dd> </dl> <dl> <dt><a class="external" href="http://msdn.microsoft.com/en-us/library/ff405926.aspx" title="http://msdn.microsoft.com/en-us/library/ff405926.aspx">Internet Explorer Standards Support Documents</a></dt> <dd><small>Microsoft publishes documents that describe "</small><small>variations, clarifications, and extensions to certain final approved web standards supported by Internet Explorer." Of these the ones that are related to JavaScript are:</small> <ul> <li><a class="external" href="http://msdn.microsoft.com/en-us/library/ff520996.aspx" title="http://msdn.microsoft.com/en-us/library/ff520996.aspx"><small>[MS-ES3]: Internet Explorer ECMA-262 ECMAScript Language Specification Standards Support Document </small></a></li> <li><a class="external" href="http://msdn.microsoft.com/en-us/library/ff521046.aspx" title="http://msdn.microsoft.com/en-us/library/ff521046.aspx"><small>[MS-ES3EX]: Microsoft JScript Extensions to the ECMAScript Language Specification Third Edition </small></a></li> <li><a class="external" href="http://msdn.microsoft.com/en-us/library/ff960769.aspx" title="http://msdn.microsoft.com/en-us/library/ff960769.aspx"><small>[MS-ES5]: Internet Explorer ECMA-262 ECMAScript Language Specification (Fifth Edition) Standards Support Document </small></a></li> <li><a class="external" href="http://msdn.microsoft.com/en-us/library/ff955363.aspx" title="http://msdn.microsoft.com/en-us/library/ff955363.aspx"><small>[MS-ES5EX]: Internet Explorer Extensions to the ECMA-262 ECMAScript Language Specification (Fifth Edition)</small></a></li> </ul> </dd> </dl> <p><span class="alllinks"><a href="/Special:Tags?tag=JavaScript&amp;language=en" title="Special:Tags?tag=JavaScript&amp;language=en">View All...</a></span></p> </td> <td> <h3>Advanced resources</h3> <dl> <dt><a class="link-https" href="https://github.com/rwldrn/idiomatic.js">Idiomatic.js</a></dt> <dd><small>Principles of Writing Consistent, Idiomatic JavaScript</small></dd> </dl> <dl> <dt><a href="/en/JavaScript_Documention/Memory_Management" title="Memory Management">Memory Management in JavaScript</a></dt> <dd><small>Overview of how memory management works in JavaScript</small></dd> </dl> <h3>Tools</h3> <ul> <li><a class="external" href="http://www.getfirebug.com/">Firebug</a> - JavaScript debugging and profiling</li> <li><a href="/en/Venkman" title="en/Venkman">Venkman</a> - JavaScript debugger</li> <li><a href="/en/JavaScript/Shells" title="./Shells">JavaScript Shells</a> - test snippets of code</li> <li><a class="external" href="http://www.jslint.com/lint.html">JSLint</a> - syntax checker, warns against bad practices</li> <li><a class="external" href="http://jshint.com" title="http://jshint.com/">JSHint</a> - community-made syntax checker</li> <li><a class="external" href="http://code.google.com/p/jsdoc-toolkit/" title="http://code.google.com/p/jsdoc-toolkit/">JSDoc</a> - generate documentation from code</li> <li><a class="external" href="http://www.aptana.com" title="http://www.aptana.com">Aptana Studio</a> - Open source IDE with Ajax and JavaScript support (based on eclipse)</li> <li><a class="external" href="http://netbeans.org/features/javascript/">Netbeans</a> - Open source IDE which includes sophisticated JavaScript support</li> <li><a class="external" href="http://www.eclipse.org/downloads/packages/eclipse-ide-javascript-web-developers/heliossr1">Eclipse</a> - Open source IDE which includes JavaScript Development Toolkit</li> <li><a class="external" href="http://www.c9.io" title="http://www.c9.io">Cloud9 IDE</a> - Open source IDE that runs in the browser with JavaScript and Node.js support</li> <li><a class="external" href="http://prettydiff.com/" title="http://prettydiff.com/">Pretty Diff </a>- a diff tool for comparing minified code to regular code</li> <li><a class="link-https" href="https://addons.mozilla.org/en-US/firefox/addon/7434">Extension Developer's Extension</a> - Offers JS Environment and Shell</li> <li><a href="/en/JavaScript_Documention/Other_JavaScript_tools" title="./Other JavaScript tools">Other JavaScript tools</a></li> </ul> <p><span class="alllinks"><a href="/Special:Tags?tag=JavaScript:Tools&amp;language=en" title="Special:Tags?tag=JavaScript:Tools&amp;language=en">View All...</a></span></p> <h4 name="Other resources">Other resources</h4> <dl> <dt><a class="external" href="http://bonsaiden.github.com/JavaScript-Garden/" title="http://bonsaiden.github.com/JavaScript-Garden/">JavaScript Garden</a></dt> <dd>A site with helpful information about the more esoteric parts of JavaScript.</dd> <dt><a class="link-https" href="https://github.com/bebraw/jswiki/wiki" title="https://github.com/bebraw/jswiki/wiki">JSWiki</a></dt> <dd>A Github-based wiki that indexes libraries and resources</dd> </dl> <h4 name="Related_Topics">Related topics</h4> <dl> <dd><a href="/en/AJAX" title="en/AJAX">AJAX</a>, <a href="/en/DOM" title="en/DOM">DOM</a>, <a class="internal" href="/En/JavaScript/Server-Side_JavaScript" title="./Server-Side JavaScript">Server-Side JavaScript</a>, <a href="/en/DHTML" title="en/DHTML">DHTML</a>, <a href="/en/E4X" title="en/E4X">E4X</a>, <a href="/en/SpiderMonkey" title="en/SpiderMonkey">SpiderMonkey</a>, <a href="/en/HTML/Canvas" title="en/HTML/Canvas">Canvas</a></dd> </dl> </td> </tr> </tbody>
</table>
<p>JavaScript is a trademark or registered trademark of Oracle in the U.S. and other countries.</p>
<p>{{ languages( { "de": "de/JavaScript", "es": "es/JavaScript", "fr": "fr/JavaScript", "it": "it/JavaScript", "ja": "ja/JavaScript", "ko": "ko/JavaScript", "pl": "pl/JavaScript", "pt": "pt/JavaScript", "ru": "ru/JavaScript", "zh-cn": "cn/JavaScript", "zh-tw": "zh_tw/JavaScript" } ) }}</p>
Revert to this revision