Returns a random permutation of elements in arr.
arr
array-like object to shuffle
function options
string indicating whether to return a copy (deep, shallow, or none)
deep
shallow
none
must provide valid options
the shuffled array-like object
string indicating whether to return a copy (deep, shallow, or none; default: 'shallow')
Returns a random permutation of elements in
arr
.array-like object to shuffle
function options
string indicating whether to return a copy (
deep
,shallow
, ornone
)must provide valid options
the shuffled array-like object