let nums: number[] = []
while (nums.length < 100) {
let integer: number = Math.floor(Math.random
生成0-99之间的随机数数组,每个随机数只能出现一次,并使用冒泡排序按照从小到大进行排序
最新推荐文章于 2024-01-10 19:14:33 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
let nums: number[] = []
while (nums.length < 100) {
let integer: number = Math.floor(Math.random