Removes a specified number of elements from the end of an array and returns the rest.
This function takes an array and a number, and returns a new array with the specified number of elements removed from the end.
The array from which to drop elements.
The number of elements to drop from the end of the array.
A new array with the specified number of elements removed from the end.
Alias