String concatenation
String concatenation is the process of joining two character chains or strings end to end into one. Under programming languages, for example , PHP, concatenation is done with “..” and for javascript, it is possible to use the plus sign (+) or concat ().
Below are two examples, the 3 string variable contains the string "Hello World":
var string1 = "Hello";
var string2 = "everybody";
var chain3 = string1 + string2;
The example above is equivalent to the following:
var string1 = "Hello";
var string2 = "everybody";
var chain3 = chaine1.concat (string2)
