Inheritance via constructor and prototype

Combining the use of parent class constructors for initialization and prototypes for inheritance provides benefits with regard to inheritance, initialization and method overridding.




      

do example 3

Advantages

Disadvantages


home | up | topabout: