All challenges
Multiple ChoiceBeginner 30s

Array Destructuring

Choose the best answer for: array destructuring
Options
  1. 1const [a, b] = [1, 2] assigns a=1, b=2
  2. 2Destructuring requires all elements
  3. 3Destructuring is a method
  4. 4Destructuring copies the 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