What is the Temporal Dead Zone (TDZ)?
The period between variable declaration and initialization where it cannot be accessed.
Example:
console.log(x); // ReferenceError
let x = 10;
The period between variable declaration and initialization where it cannot be accessed.
Example:
console.log(x); // ReferenceError
let x = 10;