Initialize an array whose indexes are scattered over integer range
<p>How to initialize a string array (size&lt;100 items) in javascript whose indexes are scattered over entire integer range, with data items.</p>

<p>If I do like this: </p>

<pre><code>array1 = ["string1","string2","string3","string4"];
</code></pre>

<p>then I get array of length 4 with indices ranging 0 to 3 </p>

<p>But in my case i want to keep my own indices, so that the array could be used like a high performance int-string hash table.</p>

<p><em>I'm preferably looking out for a single statement initialization.</em></p>

<p>The items of the array should be accessible like this: <code>array1[23454]</code></p>

<h3>Update From Comments</h3>

<p>I'm restricted to initialize the array as a single statement since a dynamically prepared array initialization string is appended from server side like this: <code>var array = &lt;string from server here&gt;</code></p>
