May 2011
Intermediate to advanced
1096 pages
40h 54m
English
Function.prototype — the prototype for a class of objects
function.prototype
The prototype property is
used when a function is used as a constructor. It refers to an
object that serves as the prototype for an entire class of objects.
Any object created by the constructor inherits all properties of the
object referred to by the prototype property.
See Chapter 9 for a full discussion of
constructor functions, the prototype property, and the definition of
classes in JavaScript.
Read now
Unlock full access