共计 162 个字符,预计需要花费 1 分钟才能阅读完成。
function getNum(min,max,count){let arr = [];
for (let i = 0; i < count; i++) {arr[i] = (Math.ceil(Math.random()*max));
}
return arr;
};
getNum(1,103,10);
console.log(getNum(1,103,10));
正文完
发表至: javascript
2023-04-02