drop
drop(array, amount)
Removes the first amount
elements from array
.
ts
drop([1, 2, 3, 4, 5], 2); // [3, 4, 5]
ts
pipe([1, 2, 3, 4, 5], drop(2)); // [3, 4, 5]