array-slice

Array-slice method. Slices `array` from the `start` index up to, but not including, the `end` index.