Creates a slice of array with n elements taken from the beginning.
The array to query.
Optional
The number of elements to take.
Returns the slice of array.
Creates a slice of array with n elements taken from the beginning.