copy Function constructor in Javascript -
i'd substitute function constructor fn that
function hello(){ console.log("hello") }
will give same result as
fn lazyhi(){ console.log("i'm lazy function!") }
i'm interested test own understanding of javascript inheritance patterns, i'm not sure can done @ "root" level.
you cannot replace "function" keyword own "fn" keyword. syntax error.
Comments
Post a Comment