Remove N items from the end of the input array
array
(Array): input array[count=1]
(number): number of items to drop
(Array): input array sans the dropped items
const result = arrays.drop([1, 2, 3], 2);
console.log(result);
> [1]
Remove N items from the end of the input array
array
(Array): input array[count=1]
(number): number of items to drop(Array): input array sans the dropped items
const result = arrays.drop([1, 2, 3], 2);
console.log(result);
> [1]