摘要: document.write(parseInt(10*Math.random())); //输出0~10之间的随机整数document.write(Math.floor(Math.random()*10+1)); //输出1~10之间的随机整数//输出指定位数的随机数的随机整数function ... 阅读全文
posted @ 2014-06-26 09:35 Xinney 阅读(139) 评论(0) 推荐(0) 编辑