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