This page demonstrates a simple 'javascript object to text' dump script. I modified the script slightly for Dojo integration. Very useful for debugging, as it works in any browser. The Dojo Toolkit may include a function similar to this, but at present, I haven't been able to find it. I think they use the 'FireBug' plugin for FireFox and/or dumping to the 'console' to get similar info.