js取的随机数

Math.round(Math.random()*1000+1) ;//取得1-1000的随即数
原文地址:https://www.cnblogs.com/whlives/p/3880873.html