Prototype (JC)

http://sporto.github.io/blog/2013/02/22/a-plain-english-guide-to-javascript-prototypes/

The ‘prototype’ property points to the object that will be asigned as the prototype of instances created with that function when using ’new’. Confusing? This is easier to explain with an example:

Leave a comment