Temporal Dead Zone (TDZ), though the term is quite terrifying, the concept is quite simple and easy to understand. TDZ was introduced in ES2015/ES6 along with the new 'let' and 'const' to overcome the loop holes caused by the old 'var'. It is very im...

Markdown supported · ⌘↵ to post
Ankur Chunekar
Derek Drapp
Full Stack Developer
Loved this! I have had several fellow coders tell me to put variables at the top, and this explains why so well! Great article!