jquery - javascript extend child function from another parent -


b extend a.call(this), how extend child function (a.method)?

function a() {     this.method = function()     {         // method     }; }  function b() {     a.call(this);     this.method = function()     {         // method         // method b     }; } 


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

css - Can I use the :after pseudo-element on an input field? -