Array.removeAt Function
Removes an element from of an Array object at a specified index location. This function is static and can be invoked without creating an instance of the object.
Array.removeAt(array, index);
Use the removeAt function to remove an item at a specific index from an array. The index value of items that are greater than index is decreased by one.
If index is a negative number, the removeAt function counts backward from the end of the array. Calling removeAt function with index greater than the length of the array has no effect.
Show: