The array to be modified.
The array index to remove the item from. The index must be in bounds or it will throw an error.
Optionalcallback: FunctionA callback to be invoked for the item removed from the array.
Optionalcontext: objectThe context in which the callback is invoked.
Removes the item from the given position in the array.
The array is modified in-place.
You can optionally specify a callback to be invoked for the item if it is successfully removed from the array.