Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript Array Methods
slice()
This example slices out a part of an array starting from array element 1 ("Orange"):