This function can be rewritten as 
```
randArray = (n) =>
    _.shuffle [0...n]
```
The triple dots mean range from 0 to n exclusive, and lodash has the shuffle function built in(make sure lodash is available to use in the file)