Math.floor((Math.random()*10000))与 (Math.floor(Math.random()*9+1))*1000的最大区别就是随机数范围的随机数个数相差很大,前者的范围更大。 相关文章: 2021-11-30 2021-12-30 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2022-12-23