摘要: js字符串函数 JS自带函数 concat 将两个或多个字符的文本组合起来,返回一个新的字符串。 var a = "hello"; var b = ",world"; var c = a.concat(b); alert(c); //c = "hello,world" indexOf 返回字符串中一 阅读全文
posted @ 2017-10-24 10:36 MartinL 阅读(1241) 评论(0) 推荐(0) 编辑