数组打乱顺序
let arr = ['生','日','快','乐','666']
var randomNumber = function(){
return 0.5 - Math.random()
}
arr.sort(randomNumber)
console.log(arr)
let arr = ['生','日','快','乐','666']
var randomNumber = function(){
return 0.5 - Math.random()
}
arr.sort(randomNumber)
console.log(arr)