Define Temporal Dead Zone in ES6.
The temporal dead zone can be defined as the time span which exists between the time taken for binding of a variable and its declaration in a program. The temporal dead zone exists so that program errors can be easily identified as a variable that can be made accessible before its declaration. Also for making const work properly, the temporal dead zone can be used. It is also used to proof guard JavaScript which is basically a mechanism used for runtime.
BY Best Interview Question ON 06 Oct 2019