JavaScript Guide

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

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

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

Details of the object model

Overview: Details of the object model

Promises

Overview: Promises

Iterators and generators

Overview: Iterators and generators

Meta programming

Overview: Meta programming

JavaScript modules

Overview: JavaScript modules