The array.slice method takes two arguments, the beginning and the end of the slice to be taken out of the array. The end point is not included in the slice. For the third expect() we can see that when starting and ending at the same location that the slice is empty. From the fourth expect() we can see that the out-of-bounds for the slice end is irrelevant. From the fifth expect() we can see that when begin > end the slice is empty.
The array.slice method takes two arguments, the beginning and the end of the slice to be taken out of the array. The end point is not included in the slice. For the third expect() we can see that when starting and ending at the same location that the slice is empty. From the fourth expect() we can see that the out-of-bounds for the slice end is irrelevant. From the fifth expect() we can see that when begin > end the slice is empty.

johnnygames/javascript-koans,johnnygames/javascript-koans,johnnygames/javascript-koans