javascript如何合并字符串?JavaScript拼接字符串有两种方法:①用“+=”运算符:var str = "123" str+= "456" var result = "" for(var i=0 i2023-04-28JavaScript290