console.log() is defined but doesn't log in IE - empty console
问题 Javascript on a page in Internet Explorer (8 and 9) with Developer Tools open reaches console.log() , which is defined - but nothing appears in the actual log . Things tried: Double-checking with alert() s that console is defined and that console.log is a function. Checking with alert() s before and after that the code does reach the console.log() line, Checking code for any IE fallbacks like if(ie){console={log:function(){}}} , removing links to libraries and checking code snippets for