Challenge Concatenating Strings With The Plus Equals Operator - ashish9342/FreeCodeCamp GitHub Wiki
We can use the +=
operator to concatenate a string onto the end of an existing string variable. This can be very helpful to break a long string over several lines.
Watch out for spaces. Concatenation does not add spaces between concatenated strings, so you'll need to add them yourself.
var ourStr = "I come first. ";
ourStr += "I come second.";