Javascript objects have properties that we can assign values and obtain those values at will. This means if we have an object with properties name and age, we can easily assign values to each of these properties for any person we want, as shown below:

-See more at: Classmite

Advertisements