Syntax Quiz — Level 2
1/14
What is this syntax called?
Focus on the highlighted part of the code. Drag an answer onto the code, tap an answer, or use the keyboard number shortcuts.
const user = { name: 'Alice', age: 30, city: 'NYC' };
const { name, age } = user;