取一定范围的随机数

Math.random() * (n - m) + m; 可以取n到m的随机数

原文地址:https://www.cnblogs.com/HughTan/p/3177194.html