I'm having trouble understanding why people call
after deleting an element in an array (as seen in this answer and many others). Why is there need for doing so? When is the length of an array evaluated? Or maybe I'm missing something obvious, what does
array.length-- actually do?