SyntaxFix
Write A Post
Hire A Developer
Questions
You can use the JavaScript String concat() Method,
var str1 = "Hello "; var str2 = "world!"; var res = str1.concat(str2); //will return "Hello world!"
Its syntax is:
string.concat(string1, string2, ..., stringX)