javascript - Using a Function.prototype for the console.log function -
i created prototype-function this, , works fine "normal" functions:
function.prototype.my = function() { ... } but when invoke console.log function error: console.log.my not function.
i using firefox 38.0.1 on mac 10.8.5. here fiddle: http://jsfiddle.net/okrw6ae4/
it occurs in firebug (2.0.10) console. built in console works.
any ideas?
Comments
Post a Comment