JavaScript Array Methods

slice()

This example slices out a part of an array starting from array element 1 ("Orange"):