A: An object is an instance of a particular reference type.
So how do new objects build??
A: The new object is followed with a constructor Function to create the.
The constructor itself is a function, except that the function is defined for the purpose of creating a new object.
So let's just create an example of an object look at it ~ ~
1 var New Object ();
This line of code creates a new instance of object and saves it in the variable person, using a constructor that is obnject.
So we're customizing a constructor?
var New Person ();
Have you found that the person is capitalized in the first letter of the object? That's not a coincidence. The constructor should always start with an uppercase letter.
The big uncle shouted people ... Go back to writing ...