TDZ (Temporal Dead Zone) is the time between when a variable is hoisted and when it’s actually declared in your code - during that time, you can’t use the variable, or you'll get a ReferenceError Explanation console.log(a); // ReferenceError (TDZ of ...
Markdown supported · ⌘↵ to post
No responses yet.