Printing all the hidden properties of an object
<p>So I have the empty object <code>a = {}</code>. When I do <code>console.log(a)</code>, <code>console.dir(a)</code>, or even</p>

<pre><code>for(b in a) {
   console.log(b);
}
</code></pre>

<p>I do not get to see the "hidden properties" such as <code>__defineGetter__</code>, <code>hasOwnProperty</code>, etc.</p>

<p>How can I print <em>all</em> properties of an object?</p>
