Flatten object to array?
<p>I'm using an object as a hash table. I'd like to quickly print out its contents (for <code>alert()</code> for instance). Is there anything built in to convert a hash into arrays of (key, value) pairs?  </p>
