Skip to content

Glossary: JavaScript Beyond the Basics

Temporal dead zone

Also written: TDZ

The part of a block before a `let` or `const` line has run, where using the name is an error. You get `ReferenceError: Cannot access 'x' before initialization`.

Where the book teaches it

Related terms

ScopeHoistingvar