Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Something like?

    prettyAlert = function(obj){ 
      alert(JSON.stringify(obj, null, 4)); 
    }


No, I'd like to see the same as used in Firebug, a sort of expandable tree that gets updated as the object is modified.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: