User Tools

Site Tools


java-script:multiple-inheritance

This is an old revision of the document!


Java Script Multiple Inheritance

<WRAP ident> JavaScript does not support multiple inheritance directly, which means a class can't extend more than one class. </WRAP> The extends keyword can only be followed by a single class.

<WRAP ident> To incorporate functionality from multiple sources, JavaScript supports “mixins” as a way to accomplish this. </WRAP>

To incorporate functionality from multiple sources, JavaScript supports “mixins” as a way to accomplish this.

java-script/multiple-inheritance.1690386595.txt.gz · Last modified: 2023/07/26 18:49 by odefta