JavaScript Array Methods

slice()

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