Edit & Run »
Deleting elements leaves undefined holes in an array.
Try it