Home | History | Annotate | Download | only in inherit

Lines Matching refs:prototype

32     This tests the syntax ObjectName.prototype = new PrototypeObject using the
35 If you add a property to an object in the prototype chain, instances of
36 objects that derive from that prototype should inherit that property, even
37 if they were instatiated after the property was added to the prototype object.
46 var TITLE = "Adding properties to the prototype";
60 Manager.prototype = new Employee();
66 WorkerBee.prototype = new Employee();
72 SalesPerson.prototype = new WorkerBee();
78 Engineer.prototype = new WorkerBee();
99 Employee.prototype.specialty = "none";
106 Engineer.prototype.specialty = "code";