1、描述
此方法添加两个或多个字符串并返回一个新的单个字符串。
2、语法
它的语法如下:
string.concat(string2, string3[, ..., stringN]);
3、参数
string2...stringN :这些是要连接的字符串。
4、返回值
返回连接的字符串。
5、使用示例
JavaScript String concat() Method
6、输出
Concatenated String :This is string oneThis is string two.