javascript Programming Glossary: thinga1
Javascript “OOP” and prototypes with multiple-level inheritance http://stackoverflow.com/questions/15040955/javascript-oop-and-prototypes-with-multiple-level-inheritance . It's inherited by a ThingA class which is inherited by ThingA1 and ThingA2 classes. The minimal example would be function Thing.. Thing ThingA.prototype.constructor ThingA function ThingA ThingA1.prototype new ThingA ThingA1.prototype.constructor ThingA1 function.. ThingA function ThingA ThingA1.prototype new ThingA ThingA1.prototype.constructor ThingA1 function ThingA1 ThingA2.prototype..
|