01
Language Structure
The distinction between language, runtime, and standard; ways to run code; the scope difference between declaration kinds and hoisting.
- 01 What Is JavaScript The distinction between language, engine, runtime, and standard; the boundary between what ECMAScript defines and what the host environment adds.
- 02 Ways to Run Code Running from a file, the interactive shell, the browser console, and the script tag; the script–module distinction and reading an error message.
- 03 Language Versions and Standardization How ECMAScript editions are versioned, proposal stages, the traces backward compatibility leaves in the language, and feature detection.
- 04 Variable Declarations The difference between function-scoped and block-scoped declarations, redeclaration rules, the scope of constant binding, and the binding of the loop variable.
- 05 Naming and Scope Rules Naming rules and reserved words, the resolution of lexical scope, shadowing, hoisting, and the temporal dead zone.