JavaScript Object
An object is a collection of properties. A property is a associate between a name and a value.
for...in
can be used to iterate over all the enumerable properties of an object.
Ways to create objects
Object initializers
Constructor function
Object.create
Allows to choose the prototype object for the object you want to create, without having to define a constructor function.
References:
Categories :
JavaScript