Math.random()*10 : 表获取 0~10 以内的随机数 一般情况 ,会对数值进行 parseInt 等取整处理 转载于:https://www.cnblogs.com/JaneBlog/p/8004747.html