Multiple ChoiceBeginner 30s
Enhanced Object Literals
Choose the best answer for: ES6 object shorthand
Options
- 1{x, y} creates {x: x, y: y}
- 2Shorthand is destructuring
- 3Shorthand creates methods only
- 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.