Lesson 22 of 35 · +100 xp
Destructuring
Pull out fields.
Explained simply
Your task
Declare const { name, age } = user;
Click 'Run code' to execute your code in a real sandbox.
Lesson 22 of 35 · +100 xp
Pull out fields.
Declare const { name, age } = user;
Click 'Run code' to execute your code in a real sandbox.