- :block
- or :nothing
shuffle
randomize the order of elements in given collection
Parameters
shuffle collection :literal :pathliteral :block
Returns
Examples
copyshuffle [1 2 3 4 5 6] ; => [1 5 6 2 3 4 ]
copyarr: [2 5 9] shuffle 'arr print arr ; 5 9 2