All challenges
Multiple ChoiceBeginner 30s

Enhanced Object Literals

Choose the best answer for: ES6 object shorthand
Options
  1. 1{x, y} creates {x: x, y: y}
  2. 2Shorthand is destructuring
  3. 3Shorthand creates methods only
  4. 4Shorthand requires class

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