by antichaos · 16y ago · 0 comments
This isn't a huge problem or reason not to use Firebug (which I would be totally lost without), just something to be wary of.
if(!console)console={log:function(){}};
You're welcome. if (!window.console)
Or if (typeof console == 'undefined')
Or if !('console' in window))
N var console2 = {
log: function(msg){
if(typeof console != 'undefined'){
console.log(msg);
}
}
}there, fixed..