how to check javascript array equals?
<pre><code>var a=[1,2,3];
var b=[3,2,1];
var c=new Array(1,2,3);

alert(a==b+"|"+b==c);
</code></pre>

<p><a href="http://jsfiddle.net/YrMyc/3/">demo</a></p>

<p>How to check these array, and get true from equals method?</p>

<p>Under jQuery, has any methods for this?</p>
