Does slice and shift do 0 based counting on the array?
In this example below:
a = [1,2,3,4,5]
In the slice method we are saying to start at position 1 (which is
in the array). Then continue for 3 elements. What I don't get is when we continue for 3 elements are we counting the start position or not? I know this is a dumb question but it doesn't say on the docs.