This is the simplest way to create an empty object.
In the below example function Person( ) is an object constructor function. Objects of the same type are created by calling the constructor using the new keyword.
The create method of Object creates a new object by passing the prototype object as a parameter. The newly created object will inherit all the prototype object properties.
The object literal syntax is equivalent to create method when it passes null as parameter.
The Function constructor creates a new Function object. The Function constructor creates functions which execute in the global scope only.
This is similar to function constructor but it uses prototype for their properties and methods
A Singleton is an object which can only be instantiated one time. Repeated calls to its constructor return the same instance and this way one can ensure that they don't accidentally create multiple instances.