Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript Array Methods
slice()
Array.slice() returns selected array elements as a new array: