All challenges
Multiple ChoiceBeginner 30s

Array Initialization

let arr = new Array(5).fill(0) creates:
Options
  1. 1[5]
  2. 2[0]
  3. 3undefined
  4. 4[0,0,0,0,0]

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