Posted By

Meander365 on 04/12/10


Tagged

javascript debug console log


Versions (?)

Cross Browser Javascript Debugger


 / Published in: JavaScript
 

Use to debug javascript in all browsers.

  1. function log() {
  2.  
  3. try {
  4. console.log.apply( console, arguments );
  5. } catch(e) {
  6. try {
  7. opera.postError.apply( opera, arguments );
  8. } catch(e){
  9. alert( Array.prototype.join.call( arguments, " " ) );
  10. }
  11. }
  12. }

Report this snippet  

You need to login to post a comment.