//求 [a,b]之间的随机整数 Math.floor(Math.random()*(b-a+1)+a) 转载于:https://www.cnblogs.com/dongguapifly/p/10627184.html