Posted By

maceblue on 07/30/12


Tagged

debug dump


Versions (?)

dump


 / Published in: JavaScript
 

dumps objects

  1. function dump(obj) {
  2. var out = '';
  3. for (var i in obj) {
  4. out += i + ": " + obj[i] + "\n";
  5. }
  6. return out;
  7. }

Report this snippet  

You need to login to post a comment.