📜  misturar dois 数组 javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:16.496000             🧑  作者: Mango

代码示例1
int[] meuArray = new int[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };

System.out.println("Antes de embaralhar:");
System.out.println(Arrays.toString(meuArray));

shuffleArray(meuArray);

System.out.println("Depois de embaralhar:");
System.out.println(Arrays.toString(meuArray));