array.slice()

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

array.slice( array, offset [, length ] )

Returns: Array

Argument Description
array
array, required

array to slice

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