Question: what is undefined x 1 in javascript?
Answer: note the [undefined x 1] for the sparse array. Since you deleted an element, it follows that: If you delete an element from an array, the array becomes sparse.