poetries.github.io
poetries.github.io copied to clipboard
JS常用的内置函数整理 | Poetry's Blog
http://blog.poetries.top/2016/12/13/js-inner-func/
String字符串对象 length 属性 长度 concat(String) 连接两个或更多个字符 indexOf(string) 返回出现字符的位置 substr(num1,[num2])截取字符串 toLowerCase()转成小写 toUpperCase()转成大写 replace(str1,str2) 字符串替换