Objects

  • Objects can store related information about a thing
  • Properties can be added (and removed) over time
  • You can access properties with a dot (.)
const ryan = { name: "Ryan", age: 26, job: "Developer", id: "abc123" };
person.age ++;
delete person.name;
person.firstName = "Ryan";
person.lastName = "Kadri";

14 / 24