drop
Creates a new array with n
elements removed from the left.
- Use
Array.prototype.slice()
to remove the specified number of elements from the left. - Omit the last argument,
n
, to use a default value of1
.
Creates a new array with n
elements removed from the left.
Array.prototype.slice()
to remove the specified number of elements from the left.n
, to use a default value of 1
.