Posted By

aadsm on 10/04/09


Tagged

debug


Versions (?)

multi-browser debug function


 / Published in: JavaScript
 

  1. function debug() {
  2. if( window.opera ) {
  3. opera.postError.apply( opera, arguments );
  4. } else if( window.console ) {
  5. console.log.apply( console, arguments );
  6. }
  7. }

Report this snippet  

You need to login to post a comment.