解題: const rand = (max, min) => { return Math.round(Math.random() * (max - min) + min); };. 陣列才能判斷是否重複,故設一個空陣列,等等把抽到的數字丟進去
確定! 回上一頁