
An object stores related data as key-value pairs: const user = { name: 'Alice', age: 30 };. Access properties with dot notation: user.name, or bracket notation: user['name']. Objects are the most important data structure in JavaScript — virtually everything in the language is an object under the hood.
Reference:
TaskLoco™ — The Sticky Note GOAT