The first and simplest way to shuffle an array in JavaScript is to provide a custom function to a .sort() . const array = [1, 2 ...
確定! 回上一頁