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

Control flow and error handling

Loops and iteration

Functions

Expressions and operators

Numbers and dates

Text formatting

Indexed collections

Keyed collections

Working with objects

Using classes

Promises

Typed arrays

Overview: Typed arrays

Iterators and generators

Meta programming

JavaScript modules