array_shuffle
array_shuffle(random, array)
Randomly re-orders items in-place
Kind: global function
| Param | Type | Description |
|---|---|---|
| random | function | random number generator; can use Math.random. Must return a value between 0 and 1 |
| array | Array.<T> | what to shuffle |