What is a Temporal Dead Zone?

Forums JavaScriptWhat is a Temporal Dead Zone?
Staff asked 3 years ago

Answers (1)

Add Answer
Staff answered 2 years ago

The time frame in which the let and const declarations cannot be accessed is known as the Temporal Dead Zone. The Temporal Dead Zone begins when the code execution enters the block containing the let or const declaration and lasts until the declaration has been performed.

Subscribe

Select Categories