JavaScript® (sometimes shortened to JS) is a lightweight, object-oriented language, most known as the scripting language for Web pages, but used in many non-browser environments as well. (Read more about JavaScript.)
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.
For information about embedding the JavaScript engine in your application, see
SpiderMonkey and
Rhino.
- 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.
- JavaScript technologies overview
- Introduction to the web browser JavaScript landscape
- ECMAScript 5 support in Mozilla
- A look at Mozilla's current — and planned — support for ECMAScript 5.
- 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.
- New in JavaScript 1.8.5
- JavaScript 1.8.5 (the latest version, supported in Firefox 4) adds ECMAScript 5 support for
Object and Object.prototype methods, Array.isArray, Function.prototype.bind as well as strict mode - New in JavaScript 1.8.1
- JavaScript 1.8.1 (supported in Firefox 3.5) adds native JSON encoding and decoding,
Object.getPrototypeOf, and the string trim methods: trim(), trimLeft(), and trimRight(). - New in JavaScript 1.8
- JavaScript 1.8 (supported in Firefox 3.0) adds expression closures, generator expressions, and
reduce() and reduceRight() methods on arrays. - New in JavaScript 1.7
- JavaScript 1.7 (supported in Firefox 2) adds generators and iterators, array comprehensions, block scopes with
let, and destructuring assignment. - New in JavaScript 1.6
- JavaScript 1.6 (supported in Firefox 1.5 and other Mozilla 1.8-based applications) adds item location and iterative methods to arrays, Array and String functions for use on other types, and E4X support including
for each...in. - 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 related to JavaScript are:
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
|
JavaScript is a trademark or registered trademark of Sun Microsystems, Inc. in the U.S. and other countries.