Slice ends at the specified end argument but does not include it. If you want to include it you have to specify the last index as the length of the array (5 in this case) as opposed to the end index (-1) etc.
["a","b","c","d","e"].slice(2,5)
// = ['c','d','e']