Can a javascript array be both numerical and associative?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1076658/javascript-array-associative-and-indexed">javascript array associative AND indexed?</a>  </p>
</blockquote>



<p>I am returning an array from a function and am wondering if I can have both a string association and numerical associations as well.</p>

<p>Ex: </p>

<pre><code>array[0] = green;
array[1] = blue;
array['what'] = colors;
</code></pre>
