#
slice
Function • Takes elements in array from start up to, but not including, end.
slice start, end, array → array
Arguments
| name | type | description |
|---|---|---|
| start | Number |
The start of the range of elements to take. |
| end | Number |
The end of the range of elements to take. |
| array | Array |
The array from which to take elements. |
Returns
| name | type | description |
|---|---|---|
| array | Array |
The resulting array. |