Sometimes some developers forgot to remove debugger; in javascript code, and it produce javascript error on IE. How can you check (like for the console: if(wi
debugger;
if(wi
Haven't tried it for lack of an IE, but this should work:
if (typeof console !== 'undefined') { console.log("logging enabled"); }