Compare Revisions

Array.prototype.slice()

Revision 313673:

Revision 313673 by ethertank on

Revision 324555:

Revision 324555 by web@ramiro.org on

Title:
Array slice method
Array slice method
Slug:
JavaScript/Reference/Global_Objects/Array/slice
JavaScript/Reference/Global_Objects/Array/slice
Tags:
"Array","Array Methods"
"Array","Array methods"
Content:

Revision 313673
Revision 324555
t57        As a negative index, <code>start</code> indicates an offst57        As a negative index, <code>begin</code> indicates an offs
>et from the end of the sequence. <code>slice(-2)</code> extracts >et from the end of the sequence. <code>slice(-2)</code> extracts 
>the second-to-last element and the last element in the sequence.>the second-to-last element and the last element in the sequence.

Back to History