Yes or no. If yes, what is it?
Thanks.
Yes or no. If yes, what is it?
Thanks.
Take a look at this SO Post
http://stackoverflow.com/questions/323517/is-there-an-equivalent-for-var-dump-php-in-javascript
jQuery does not (out of the box).
However, James Padolsey created this prettyPrint which I really like.
Also, if you're using Firebug or Web Inspector (or similar), you can just type the object into the console, press return, and see a tree-dump of the object. To force a tree-view, call console.dir(obj)