Reindex javascript array / object after removing a key
<p>For example:</p>

<pre><code>var Cars = {
    1: { "Make": "Honda",
         "Model": "Accord",
         "Color": "Red"
    },
    2: { "Make": "Honda",
         "Model": "Civic",
         "Color": "Silver"
    },
    3: { "Make": "Honda",
         "Model": "Jazz",
         "Color": "Yellow"
    }
</code></pre>

<p>If I do a <code>delete.Cars[2];</code> I will be left with Cars[1] and Cars[3].</p>

<p>I need a way (JS or jQuery) so that when I delete a key, the object reindexes. So, in the example above, I'm left with Cars[1] and Cars[2] (which was Cars[3]).</p>
