About this reference

The JavaScript reference serves as a repository of facts about the JavaScript language. The entire language is described here in detail. As you write JavaScript code, you'll refer to these pages often (thus the title "JavaScript reference"). If you're learning JavaScript, or need help understanding some of its capabilities or features, check out the JavaScript guide.

The JavaScript language is intended to be used within some larger environment, be it a browser, server-side scripts, or similar. For the most part, this reference attempts to be environment-agnostic and does not target a web browser environment.

Where to find JavaScript information

JavaScript documentation of core language features (pure ECMAScript, for the most part) includes the following:

If you are new to JavaScript, start with the guide. Once you have a firm grasp of the fundamentals, you can use the reference to get more details on individual objects and language constructs.

Structure of the reference

In the JavaScript reference you can find the following chapters:

Standard built-in objects
This chapter documents all the JavaScript standard built-in objects, along with their methods and properties.
Statements and declarations
JavaScript applications consist of statements with an appropriate syntax. A single statement may span multiple lines. Multiple statements may occur on a single line if each statement is separated by a semicolon. This isn't a keyword, but a group of keywords.
Expressions and operators
This chapter documents all the JavaScript language operators, expressions and keywords.
Functions
Chapter about JavaScript functions.
Classes
Chapter about JavaScript classes introduced in ECMAScript 2015.
Errors
Chapter about specific errors, exceptions and warnings thrown by JavaScript.
New in JavaScript
Chapter about JavaScript version history.

More reference pages

Document Tags and Contributors

Tags: 
 Last updated by: kdex,