function randomInt(min,max){
return Math.round(Math.random()*(max-min))+min;
}
生成区间随机整数
最新推荐文章于 2021-09-01 16:41:19 发布
function randomInt(min,max){
return Math.round(Math.random()*(max-min))+min;
}