Posted By

Rito on 07/18/11


Tagged

console


Versions (?)

Console


 / Published in: JavaScript
 

log wont output error in IE anymore

  1. var log = function(str) {
  2. if (typeof console != 'undefined' && console != null) console.log(str);
  3. }

Report this snippet  

You need to login to post a comment.