How is an object literal written in JavaScript?
Select an option, then click Submit answer.
- ○ Properties inside curly braces
- ○ Properties inside square brackets
- ○ Properties inside parentheses only
- ○ Properties inside angle brackets
Loading demo links...
Showing 1–12 of 12 questions
How is an object literal written in JavaScript?
Select an option, then click Submit answer.
Which notation accesses a property named first-name?
Select an option, then click Submit answer.
CORRECT TEXT
The keyword that refers to the current object inside its method is ______.
Answer is in the explanation below.
What happens when comparing two distinct objects with ==?
Select an option, then click Submit answer.
Which operations manage object properties? (Choose two.)
Select all that apply, then click Submit answer.
What does Object.keys return for an object?
Select an option, then click Submit answer.
Which loop iterates over enumerable object keys?
Select an option, then click Submit answer.
What does the in operator check in an object?
Select an option, then click Submit answer.
DRAG DROP
Match each technique to its purpose.
Items to match: Dot notation, Bracket notation, Object.assign, Spread syntax.

Answer is in the explanation below.
Which describe object property descriptors? (Choose two.)
Select all that apply, then click Submit answer.
Which are true about object methods? (Choose two.)
Select all that apply, then click Submit answer.
DRAG DROP
Match each class concept to its meaning.
Items to match: extends, super, static, constructor.

Answer is in the explanation below.