菜鸟菜鸟菜菜鸟

生成的随机数是在两个指定的数之间

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

posted on 2016-09-09 19:26  菜鸟菜鸟菜菜鸟  阅读(190)  评论(0)    收藏  举报

导航