1.2.8 Objects

Objects allow the grouping of related information into one unit. An object is created using curly braces "{ }".

Notice how there is information inside the curly braces. These are in the form of name/value pairs. They are called properties. Properties can hold any type of data.

To access these properties, we can use dot-object notation "."