摘要:
JS自带函数concat将两个或多个字符的文本组合起来,返回一个新的字符串。var a = "hello";var b = ",world";var c = a.concat(b);alert(c);//c = "hello,world"indexOf返回字符串中一个子串第一处出现的索引(从左到右搜 阅读全文
posted @ 2021-12-26 21:47
雾观远山
阅读(68)
评论(0)
推荐(0)
2021年12月26日 #
2021年12月24日 #
2021年12月19日 #
2021年12月13日 #
2021年12月5日 #