cant create array with STRING key
<p>Im trying to create an <strong>associative</strong> array with objects, the key should always be a <strong>string</strong> (but they are always numbers).
This is how i store them (recording user clicks):</p>

<pre><code>App.Recording[currentTime.toString()] = {sound: buttonName.toLowerCase() };
</code></pre>

<p>When trying to do this:</p>

<pre><code>var save = {};

save.recording = App.Recording;
console.log(JSON.stringify(save));
</code></pre>

<p>I get this:</p>

<pre><code>{"recording":[null, null,{"sound":"e"},null,null,null,.......,null,null,null,null,{"sound":"e"},....,null, null...]}
</code></pre>

<p>So, the <code>toString()</code> doesnt work on <code>currentTime.toString()</code>, which make my array store <code>currentTime</code> as numbers instead...</p>

<p>How can I save the objects and have an associative array?</p>
