All challenges
Multiple ChoiceBeginner 30s

Variable Declaration

Choose the best answer for: variable declaration keywords
Options
  1. 1var is scoped to enclosing block braces
  2. 2let is scoped to the function body
  3. 3const allows reassignment after init
  4. 4let allows block-scoped mutable variables

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