Screenshot of JavaScript struct dump output I came across this funky little script earlier today which allows you to dump variables of any data type in JavaScript and presents the results in exactly the same format as the default output of a in Coldfusion.

I really like the completeness of this script, how it handles the node elements and the cross browser support. I’ve not tried using it in development yet and I doubt it would replace my console.log() calls in Firefox when using Firebug, as that offers so much more, but for the poorer members of the web browser family (poor little IE) I can definitely see it coming in handy.