Call function if two arrays are identical with jQuery
<p>I have a quick question regarding using jQuery to compare 2 arrays. I have two arrays, and I need to call a function only if they are exactly identical (same size, elements, order).</p>

<p>For example, given these two arrays:</p>

<pre><code>a['zero','one','two','three','four','five','six','seven', 'eight','nine'];
b['zero','one','two','three','four','five','six','seven', 'eight','nine'];
</code></pre>

<p>If these two are arrays are identical and in the same order, do:</p>

<pre><code>do  function{};
</code></pre>
