摘要: javascript 获取随机数var rand=Math.floor(Math.random()*(n+1))floor 向下取整random 获得0-1之间的随机数 阅读全文
posted @ 2015-01-25 19:39 闲云-野鹤 阅读(139) 评论(0) 推荐(0) 编辑