我們可以在JavaScript 中使用隨機數生成器- Math.random() ,通過將生成的浮點數 ... console.log("1st min and max try: "+generateRandomInt(2,9)); ...
確定! 回上一頁