Use [0...a.length] instead of [0..a.length-1]

Note that in CoffeScript:
```
coffee> a = []
[]
coffee> [0..a.length-1]
[ 0, -1 ]
coffee> [0...a.length]
[]
```