Method Array.shuffle()
- Method
shuffle
arrayshuffle(arrayarr)- Description
shuffle() gives back the same elements, but in random order. The array is modified destructively.
- See also
permute()
array shuffle(array arr)
shuffle() gives back the same elements, but in random order. The array is modified destructively.
permute()