The index for the array member to remove. Array indices start at 0.
Remarks
Checks whether the position is within the array bounds and then removes it from the array and moves
each subsequent element to the slot with the next smaller index and decrements the array's length by 1.