生成两个数之间的随机数

生成两个数之间的随机数

Math.floor(Math.random() * (max - min + 1)) + min
生成随机整数

posted @ 2017-05-09 15:54  路过的花花世界  阅读(1460)  评论(0)    收藏  举报