Optional
startThe starting index of the slice, inclusive.
Negative values are taken as an offset from the end of the array.
The default is 0
if step > 0
else n - 1
.
Optional
stepThe step value for the slice.
This must not be 0
.
The default is 1
.
Optional
stopThe stopping index of the slice, exclusive.
Negative values are taken as an offset from the end of the array.
The default is n
if step > 0
else -n - 1
.
The options for the
slice
function.