News for hackers. Stuff that matters.
Re:Ask HN: JavaScript dev environment ? by toni on Saturday July 03, 2010 @02:32PM (#1484203)
My solution to this issue was to write a console2.log helper function and call that instead of the original console.log:

  var console2 = {
   log: function(msg){
    if(typeof console != 'undefined'){
     console.log(msg);
    }
   }
  }

There are no comments on this comment yet.