javascript获取指定区间范围随机数的方法

function getRand(min,max)
{
     return Math.floor(Math.random() * (max - min + 1) + min);
}
联系我们

邮箱 626512443@qq.com
电话 18611320371(微信)
QQ群 235681453

Copyright © 2015-2024

备案号:京ICP备15003423号-3