Home | History | Annotate | Download | only in inherit

Lines Matching refs:prototype

32     This tests the syntax ObjectName.prototype = new PrototypeObject using the
50 if ( object == constructor.prototype ) {
65 Manager.prototype = new Employee();
72 WorkerBee.prototype = new Employee();
78 SalesPerson.prototype = new WorkerBee();
85 Engineer.prototype = new WorkerBee();
103 "pat.__proto__ == Engineer.prototype",
105 pat.__proto__ == Engineer.prototype );
108 "pat.__proto__.__proto__ == WorkerBee.prototype",
110 pat.__proto__.__proto__ == WorkerBee.prototype );
113 "pat.__proto__.__proto__.__proto__ == Employee.prototype",
115 pat.__proto__.__proto__.__proto__ == Employee.prototype );
118 "pat.__proto__.__proto__.__proto__.__proto__ == Object.prototype",
120 pat.__proto__.__proto__.__proto__.__proto__ == Object.prototype );