Better comment for randArray

This commit is contained in:
SHIYING 2014-01-11 16:15:46 -05:00
parent 08a1668bcc
commit 524b2318f8

View file

@ -32,7 +32,7 @@ class Rand
rand2: (min, max) =>
min + @rand max - min
# return an array of randomly shuffled numbers from 0 to n, exclusive
# return an array of numbers from 0 to n-1, shuffled
randArray: (n) =>
array = ( i for i in [0..(n-1)] )