I'm stuck trying to understand the following:
%w[a b c d][4,20] => []
%w[a b c d][4] => nil
%w[a b c d][5,20] => nil
- Why is there the added index on the tail end of the Array?
- Why does slice return different results? Is 4 not out of range? Seems inconsistent, but I think #1 will shed a bit of light on the answer to this question.