SyntaxStudy
Sign Up

Objects

Intermediate

Complete the JavaScript object syntax.

To access the property name of object user: user.

Alternatively using bracket notation: user[]

To check if a property exists: in user

To get all keys of an object: Object.(user)

To merge two objects: Object.({}, obj1, obj2)