// 左臂右开
function getRandom(min, max) {
return Math.floor(Math.random() * (max - min) + min)
}
let number = getRandom(1, 6)
console.log(number)
微信扫一扫
// 左臂右开
function getRandom(min, max) {
return Math.floor(Math.random() * (max - min) + min)
}
let number = getRandom(1, 6)
console.log(number)
相关推荐