摘要: 一、基本函数 Math.random()方法可返回0~1(含0不含1)之间的一个随机数 Math.floor()向下取整 Math.ceil()向上取整 toString() 方法可把一个逻辑值转换为字符串,并返回结果 numObj.toString([radix]) radix指定要用于数字到字符 阅读全文
posted @ 2016-01-22 15:18 ximi007 阅读(946) 评论(0) 推荐(0) 编辑