摘要: Math Math.PI 返回圆周率3.14 ceil 向上取整 floor 向下取整 round 对数值x进行四舍五入 random 返回介于0 ~ 1 之间的随机数 indexOf(str,index)方法可返回某个指定的字符串值在字符串中首次出现的位置(对大小写敏感) str 规定需检索的字符 阅读全文
posted @ 2019-04-12 17:47 小哈哈668 阅读(159) 评论(0) 推荐(0) 编辑