class - How to Inherit from two or more classes in JavaScript -


so have classes

function node() { node.prototype.setname=function(_n){this.name=_n;}; } function textablenode() { textablenode.prototype.settext=function(_t) {this.text=_t;}; } function attributionalnode() { attributionalnode.prototype.setattribute=function(_a) {this.att=_a;}; } 

all of these inherited node(); how implement new class such universalnode(); have methods?


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -