JavaScript String concat

JavaScript String concat


JavaScript String concat() method
In this Tutorial, we will learn about JavaScript String concat() method with the help of following below:
The concat() method Joins the string one or more strings
Syntax
var str2 = str1.concat(str1, str2, str3… strN);
Output
Example2
Output