随机数

Math.random() * max 将生成一个小于max的 随机数 (小数)
parseInt(number) 将对数值取整
number.toFixed(Decimal places) 保留几位小数

(Math.random()*(max-min))+min 获取指定范围的随机数