All challenges
Multiple ChoiceBeginner 30s

Array Creation

Choose the best answer for: array literal
Options
  1. 1const arr = [1, 2, 3] creates an array
  2. 2Arrays are written with {} curly literal syntax
  3. 3Arrays can only hold one primitive type overall
  4. 4Arrays must be built by literal, not new Array

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