Objects
Storing data with key-value pairs, accessing and adding properties.
Simple enough for a 5-year-old to understand
Create and access object
An object holds the properties of an entity (key: value). The value is accessed with a dot.
const person = { name: "Alex", age: 36 };console.log(person.name);console.log(person.age);🎯 Exercise & Practice
Test what you've learned — answer, write code, check instantly. (1 left)