/ Published in: JavaScript
log wont output error in IE anymore
Expand |
Embed | Plain Text
var log = function(str) { if (typeof console != 'undefined' && console != null) console.log(str); }
You need to login to post a comment.
log wont output error in IE anymore
var log = function(str) { if (typeof console != 'undefined' && console != null) console.log(str); }
You need to login to post a comment.