elizabrock / software-development-curriculum

The goal of this repository is to aggregate all of the course materials I've developed in the first 10 Nashville Software School cohorts.
MIT License
25 stars 53 forks source link

prototype explanation #124

Closed pmconnolly80 closed 8 years ago

tombler commented 8 years ago

Might be worth mentioning that using the new keyword is referred to as a constructor function:

"A constructor function is used with the new keyword (which causes JavaScript to automatically create a new object, set this within the function to that object, and return the object): var objFromConstructor = new ConstructorFunction();"