array.slice()

Returns a new array, from the start position up to the count of elements

array.slice( offset [, length ] )

Returns: Array

Argument Description
offset
number, required

start position in the original array to slice

length
number, optional

maximum elements to slice from offset

Examples

There are currently no examples for this function

See also