How to get an object's properties in JavaScript / jQuery?
<p>In JavaScript / jQuery, if I <code>alert</code> some object, I get either <code>[object]</code> or  <code>[object Object]</code></p>

<p>Is there any way to know:</p>

<ol>
<li><p>what is the difference between these two objects</p></li>
<li><p>what type of Object is this</p></li>
<li><p>what all properties does this object contains and values of each property</p></li>
</ol>

<p>?</p>
