Items removed from an array using delete can cause undefined holes in the array. This is because delete removes the item but does not reindex the array or update its length.
delete
undefined