1. JavaScript Objects
Objects are variables too, but objects can contain many values.
1
var car = {type:"flat", model:"500",color:"white"}
1.1 The value are written as name:value pairs
1.2 JavaScript objects are container for named value.Two ways to access objects:
2.1.
1
objectName.propertyName
2.2.
1
objectName["propertyName"]