Multiple ChoiceBeginner 30s
Block Scope with let
Choose the best answer for: block scoping
Options
- 1let variables are scoped to the enclosing block {}
- 2let has no scope and leaks into the global
- 3let is globally scoped wherever it is used
- 4let is function-scoped in exactly the same way as var
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.