Answer
A JavaScript object is a collection of properties with an associated prototype.
• Property keys are strings or symbols.
• A property can be a data property or accessor property.
• Objects have identity, so separate object instances are not strictly equal.
Example
Code
const user = { name: 'Maya', active: true };
console.log(user.name);Output
Maya
Quick Revision
Objects store keyed properties and inherit through prototypes.