Math.floor(Math.random()*(m-n+1)+n) Math.floor(Math.random() * (50 - 1 + 1) + 1); 生成1-50内的随机整数 相关文章: 2021-09-19 2022-02-11 2021-11-05 2022-12-23 2022-12-23 2022-12-23 2022-12-23