A value (object) of a reference type is an instance of the application type. In ECMAScript, a reference type is a data structure used to organize data and functionality together to organize data and functionality together. They are also commonly used as classes in JavaScript, but this is not a proper salutation! because although ECMAScript is technically an object-oriented language, it does not have the basic structure of classes and interfaces supported by traditional object-oriented languages. More specifically, a reference type is more like a definition of an object, which describes the properties and methods that this class of objects have.
An object is an instance of a particular reference type. The new object is created with a constructor, followed by a constructor, where the constructor itself is a function, except that the function is defined to create the object. The following code:
var person=New Object ();
This line of code creates a new instance of the object reference type, and then saves the instance in the variable person. The constructor used is object, which defines the default properties and methods for the new object. The new object will have the default properties and methods defined in all systems as Object reference types!
Description of JavaScript reference types