**PHP String Operators**
(.) Concatenation
(.=) Concatenation assignment
Function of a Concatenation assignment below.
var1 = "Helo";
var1 .= "World!";
echo var1;
The output above would be Helo World!
Q: Is there a similar operator like Concatenation assignment in javascript?
thanks.
I am looking for a Concatenation assignment not Assignment Operators, I ask for it because I do not know what it looks like, how would i know that += there was a concatenation operator? it only says assignment operator. And if you insist that it has a duplicate, then that link would be tittle something like concatenation... not assignment..., because assignment is very far similar than concatenation. Give my points back, I earned it hard!
var = "string";, concatenation isvar = "string"; var +="string2";.test += arr;