Delete array elements.

zhaozj2021-02-16  44

JavaScript cuts off the array by setting an array of Length attributes that shorten the length of the array. If you use the Delete operator to delete an array element, although the element becomes undefined, the length of the array does not change. Two methods of deleting elements, array lengths also change.