Remove value from js array without reordering keys
<p>I have an array, and I want to remove just one element, but without reordering keys. Is there an easy way without using delete or rebuilding the entire array?</p>

<p>Or alternatively clean up after delete to get rid of the undefined values, fixing the length again.</p>

<pre><code>var array = ["valueone", "valuetwo"];

console.dir(array); // keys 0 and 1
array.splice(0, 1);
console.dir(array); // key 1 is now 0, do not want!
</code></pre>
