JS 操作小技巧1.数组乱序排列[0,1,2,3,4,5,6,7,8,9].sort((a, b) => Math.random() - 0.5)// 或者[0,1,2,3,4,5,6,7,8,9].sort((a, b) => Math.random() - Math.random())