硕鼠宝

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2015年5月25日

摘要: 属性ELN2LN10LOG2ELOG10EPISQRT1_2SQRT2方法abs(x) 绝对值floor(x) 向下舍入ceil(x) 向上舍入round(x) 四舍五入max(x,y) 最大值min(x,y) 最小值random() 随机数sqrt(x) x的平方根log(x) ln(x... 阅读全文
posted @ 2015-05-25 12:40 硕鼠宝 阅读(124) 评论(0) 推荐(0)

摘要: 属性InfinityNaNundefined方法escape() 对字符串进行编码 (过时)unescape() 对由 escape() 编码的字符串进行解码 (过时)encodeURI() 把字符串编码为URIdecodeURI() 解码某个编码的URIencodeURICom... 阅读全文
posted @ 2015-05-25 12:35 硕鼠宝 阅读(624) 评论(0) 推荐(0)

摘要: 属性lengthconstructorprototype方法concat() 连接数组,返回新数组indexOf(search[,start]) 首次出现的位置lastIndexOf() 最后出现的位置join([separator]) 数组转换为字符串pop() 删除... 阅读全文
posted @ 2015-05-25 12:34 硕鼠宝 阅读(143) 评论(0) 推荐(0)

摘要: 属性prototypeconstructor方法toString()valueOf() 阅读全文
posted @ 2015-05-25 12:33 硕鼠宝 阅读(120) 评论(0) 推荐(0)

摘要: 属性lengthconstructorprototype方法concat(strX) 连接字符串,并返回新的字符串charAt(index) 返回在指定位置的字符charCodeAt(index) 返回在指定的位置的字符的Unicode编码fromCharCode(n1,n2,...,nX... 阅读全文
posted @ 2015-05-25 12:32 硕鼠宝 阅读(149) 评论(0) 推荐(0)