Edit This Code:
See Result »
The slice() method slices elements from an array.
Try it
Result: