JavaScript Associate — Easy
Key points
- Curly braces are used to create objects in JavaScript
- The correct syntax is const obj = {key: value};
- Incorrect options use incorrect syntax or keywords
- Remember to use curly braces to define object properties
Ready to go further?
Related questions
