Breaks an array into an array of two arrays. The first contains the
elements before index, and the second contains the elements at index
and thereafter.
Remarks
Negative indices count backwards from the end of the array.
Returns null if index is fractional or NaN.
Breaks an array into an array of two arrays. The first contains the elements before
index
, and the second contains the elements atindex
and thereafter.Remarks
Negative indices count backwards from the end of the array. Returns
null
ifindex
is fractional orNaN
.Example