Is all JavaScript literal object different from each other
<p>I have this:</p>

<pre><code>var g = [{a:'a'},{a:'2'},{a:'3'}]
var c = [{a:'4'},{a:'2'},{a:'5'}]
</code></pre>

<p>The following statement:</p>

<pre><code>g[1] == c[1]
</code></pre>

<p>Returns false, even though the objects look the same. Is there any way I can compare them literally so it will return me true instead of false?</p>
