Are elements of Javascript arrays processed in a defined order?
<p>For example:</p>

<pre><code>var a = [];
function p(x) { a.push(x); }

[[p(1),p(2)],p(3),[p(4),[p(5)]],p(6)]

a == [1,2,3,4,5,6] // Always true?
</code></pre>

<p>Is 'a == [1,2,3,4,5,6]' defined behavior? Can it be relied upon?</p>
