JavaScript Array Methods

slice()

When the slice() method is given two arguments, it selects array elements from the start argument, and up to (but not included) the end argument: