what happens when an item is deleted from a javascript array [duplicate]

Arrays in JavaScript are counted from 0. delete test[1] deleted the second object in the array.

Leave a Comment