Math.floor((Math.random()*10000))与
(Math.floor(Math.random()*9+1))*1000的最大区别就是随机数范围的随机数个数相差很大,前者的范围更大。