Items removed from an array using delete Low

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.

Detector ID
jsx/items-removed-from-array-using-delete@v1.0
Category
Common Weakness Enumeration (CWE) external icon
-