News for hackers. Stuff that matters.
Re:JavaScript Hacks for Hipsters by xyclos on Thursday October 09, 2014 @11:00AM (#8432736)
it is also useful for cross browser debugging. having a console.log() in your code running in IE will cause problems if the console isn't actually open. If you use window.console&&console.log() you can be sure that it wont hurt your code running in IE.

There are no comments on this comment yet.