Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

What is the temporal dead zone?

  1. A The period where a let or const binding exists but cannot be accessed
  2. B A delay before setTimeout fires
  3. C The time between page load and script execution
  4. D A region where code cannot be minified
Answer

The period where a let or const binding exists but cannot be accessed

let and const are hoisted but uninitialised, so accessing them before the declaration throws a ReferenceError instead of returning undefined.

All Javascript MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as