Quiz

JavaScript Objects Quiz

8 questions about working with objects: properties, methods, destructuring, and nested structures.

8
questions
~4 min
to complete
instant result
Question 1 of 8
How do you access the name property of the user object?
Question 2 of 8
How do you add a new property to an existing object?
Question 3 of 8
How do you delete a property from an object?
Question 4 of 8
What does Object.keys(user) do?
Question 5 of 8
How do you check if an object has a specific property?
Question 6 of 8
What does the spread operator do when copying an object: const copy = {...user}?
Question 7 of 8
How do you access a property whose name is stored in a variable called key?
Question 8 of 8
What does typeof {} return?
0/8