JavaScript

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 JavaScript-the-language, 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 JavaScript engine in your application, see SpiderMonkey

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.
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.
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.
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.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.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.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
JavaScript Language Resources
A description of the JavaScript language standards.
JScript Deviations from ES3 (PDF)
Describes differences between the ECMAScript ed. 3 standard and its Microsoft implementation (JScript). Also includes information on other browsers (Opera, Firefox, and Safari).

View All...

Featured tools

View All...

Other resources

JavaScript Garden
A site with helpful information about the more esoteric parts of JavaScript.

JavaScript is a trademark or registered trademark of Sun Microsystems, Inc. in the U.S. and other countries.

Tags (2)

Attachments (0)

 

Attach file