The JavaScript Guide shows you how to use JavaScript and gives an overview of the language. If you need exhaustive information about a language feature, have a look at the JavaScript reference.
This Guide is divided into the following chapters.
Introduction
Overview: Introduction
Grammar and types
Overview: Grammar and types
- Basic syntax & comments
- Declarations
- Variable scope
- Variable hoisting
- Data structures and types
- Literals
Control flow and error handling
Overview: Control flow and error handling
Loops and iteration
Overview: Loops and iteration
Functions
Overview: Functions
Expressions and operators
Overview: Expressions and operators
- Assignment & Comparisons
- Arithmetic operators
- Bitwise & logical operators
- Conditional (ternary) operator
Numbers and dates
Overview: Numbers and dates
Text formatting
Overview: Text formatting
Indexed collections
Overview: Indexed collections
Keyed collections
Overview: Keyed collections
Working with objects
Overview: Working with objects
Using classes
Overview: Using classes
Promises
Overview: Promises
Typed arrays
Overview: Typed arrays
Iterators and generators
Overview: Iterators and generators
Meta programming
Overview: Meta programming
JavaScript modules
Overview: JavaScript modules