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

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -