All challenges
Multiple ChoiceIntermediate 30s

let Temporal Dead Zone

Choose the best answer for: TDZ with let
Options
  1. 1let has no temporal dead zone so it can be read before declaration
  2. 2let is initialized to undefined at the top of scope like var
  3. 3Accessing let before declaration throws ReferenceError
  4. 4let is hoisted with its value available before the declaration

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle