InterviewBuddy
All interview questions

What is the temporal dead zone?

Intermediate

Answer

A let or const binding exists from the start of its scope but cannot be accessed before initialization. Reading it early throws a ReferenceError.