JavaScript reference

This part of the JavaScript section on MDN serves as a repository of facts about the JavaScript language. Read more about this reference.

Built-ins

JavaScript standard built-in objects, along with their methods and properties.

Value properties

Function properties

Fundamental objects

Error objects

Numbers and dates

Text processing

Indexed collections

Keyed collections

Structured data

Managing memory

Control abstraction objects

Reflection

Internationalization

Statements

Control flow

Declaring variables

Functions and classes

Iterations

Others

Expressions and operators

Primary expressions

Left-hand-side expressions

Increment and decrement

Unary operators

Arithmetic operators

Relational operators

Equality operators

Bitwise shift operators

Binary bitwise operators

Binary logical operators

Conditional (ternary) operator

Assignment operators

Yield operators

Spread syntax

Comma operator

Functions

Classes

Additional reference pages