function random(start,end){
var sum=end-start+1
return Math.floor(Math.random()*sum+start)
}
时间: 2024-10-16 16:50:24
function random(start,end){
var sum=end-start+1
return Math.floor(Math.random()*sum+start)
}