17 May 2013

IE9 and console.log problems

Hello everyone,

I have found that Internet Explorer 9 has some problems when you want to use console.log in your sites.
If you have for example:

Code:
console.log('www.extremedev.blogspot.com');

then in IE9 without the Developer Tools open it will throw an exception (but you will not be able to see it because the Developer tools is not opened).
This happens because IE does not find the console object.

There is a small fix for this - you have to

Need more? Leave comments and subscribe to my blog.

.