Definition object
Literal definition of var obj = {name: "San"}
Examples of class var obj = new Object () obj.name = "John Doe";
Class ladder
It is a function of the nature of class
The relationship between class and instance
1. Each class (function) of the prototype has a property that is an object, which has a constructor attribute, the attribute value is the class itself.
2. Each instance (object) of __proto__ has a property that is an object, which points to the current class prototype.
3.prototype and __proto__
Both called prototype, the former is the object that holds the property, which is to find properties, using the former to the developer, which uses the browser.