const myRandom = function(start,end){
return start+Math.random()*(end-start)
}
JavaScript面试题--获取给定区间的随机数
于 2024-07-12 13:55:50 首次发布
const myRandom = function(start,end){
return start+Math.random()*(end-start)
}