摘要: js 字符串和数据均有concat方法 ①,字符串 concat 方法 字符串 concat 方法用于连接两个字符串,返回一个新字符串,不改变原字符串。 var s1 = 'abc'; var s2 = 'def'; s1.concat(s2) // "abcdef" s1 // "abc" 该方法 阅读全文
posted @ 2020-10-11 13:04 不忘初心dbsdxq 阅读(14490) 评论(0) 推荐(0) 编辑
TOP 文章底部