4.17.11
3.10.1
2.4.2
1.3.1
_.slice(array, [start=0], [end=array.length])
Creates a slice of array from start up to, but not including, end.
Note: This method is used instead of
Array#slice to ensure dense arrays are
returned.
Since
3.0.0
Arguments
argument
array[start=0][end=array.length]type
Array
number
number
description
The array to slice.
The start position.
The end position.
Returns
(array)