获取[n~m]之间的随机数字



getStartNEndM = (n, m) => {
return Math.round(Math.random() * (m - n) + n)
}
展开
前端了了liaoliao于2020-11-25 08:04发布的图片
10