The keyword new determines whether or not a function is a constructor
it creates a new object, which is bound to this
the function is invoked with the value of this equal to the new object
it sets the new objects prototype to the prototype property of the constructor
it returns the object
by Luka Tatarishvili
4 years ago
JavaScript
javascript constructors
0
Pro tip: use ```triple backticks around text``` to write in code fences