/ Published in: JavaScript
Use to debug javascript in all browsers.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function log() { try { console.log.apply( console, arguments ); } catch(e) { try { opera.postError.apply( opera, arguments ); } catch(e){ alert( Array.prototype.join.call( arguments, " " ) ); } } }