JavaScript#

The whole language, section by section, each one depending only on the ones before it. This is the reference course: not just what a feature does, but what problem it was added to solve, how the engine implements it, and where it goes wrong. Press Play on any animation to watch a mechanism run step by step, and use the language tabs to compare JavaScript with Python where the contrast is instructive.

New to the language, or here to fill gaps quickly? Start with the JavaScript Crash Course — it covers the dozen ideas you touch weekly, in about a tenth of the reading. Come back here for the parts it deliberately skips: property descriptors, symbols, iterators, the memory model, regular expressions and the details of the runtimes.

43 Topics • Interactive Animations & Code Examples
Unit 1

Getting Started#

What JavaScript is, where it runs, and how the parser reads your code.

Unit 2

Values, Types & Control Flow#

Primitives, coercion, variables, operators and the statements that direct a program.

Unit 3

Functions & Scope#

Functions in all their forms, scope, closures and the rules for this.

Unit 4

Objects, Collections & Iteration#

Objects, prototypes and classes, the built-in collections, iteration protocols and errors.

Unit 5

Asynchronous JavaScript#

The call stack and event loop, from callbacks to promises, async/await and concurrency patterns.

Unit 6

Modules, Runtimes & Practice#

Modules, memory, the standard built-ins, the browser and Node, tooling and performance, plus the revision material.