js获得两个整数之间的随机数的方法

      Math.floor(Math.random*(max-min+1))+min

猜你喜欢

转载自blog.csdn.net/weixin_38245489/article/details/79782711