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