Instances of objects of a particular object type are created using an operator called new, which you already have seen used when creating an array, for example:
var a = new Array();An array is a special object type. The general syntax for creating an instance of an object is like this:
variableName = new objectType(arguments);objectType(arguments) is called the constructor of the object. Some object types have more than one constructor. Constructors differ in the number of arguments they allow.