JavaScript has a number of predefined objects. In addition, you can create your own objects.
Using object initializers
It is sometimes referred to as creating objects with literal syntax. It's one of easiest way to create an object by simply define the property and values inside curly braces.