The Temporal Dead Zone.
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...
·4 min read·ankurchunekar.hashnode.devRead the article
Derek Drapp
Loved this! I have had several fellow coders tell me to put variables at the top, and this explains why so well! Great article!