# 乱序数组

shuffle(array)

# params

  1. {array}: 数据乱序的数组

# return

{string}: 返回乱序后的数组,原数组不变

# eg

let arr = [1, 2, 3, 4]
arr = shuffle(arr)
1
2
Last Updated: 4/21/2021, 5:05:43 AM