Dump methods and attributes of object
<p>I am using a third party library that provide some callbacks for a widget, but I'm not sure what the callback parameter objects are (no docs on them).</p>

<p>Is there a way to just dump all the attributes of an object in javascript, then print them using alert(), maybe? I just want to see what methods and attributes they contain,</p>

<p>Thanks</p>
