victorquinn/chancejs — pull request #64 by akre54 (2014-06-05 16:42:18+00:00)
Title: Compose unique array

Allow a unique array of length `num` to be created from a function `fn`. There is likely a much better way to handle the RangeError test (i.e. imagine someone trying to select 27 letters from the alphabet...), but this naiive solution seemed to work for now.