mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
* fix: restructure certifications guide articles * fix: added 3 dashes line before prob expl * fix: added 3 dashes line before hints * fix: added 3 dashes line before solutions
437 B
437 B
| title |
|---|
| Concatenating Strings with the Plus Equals Operator |
Concatenating Strings with the Plus Equals Operator
Hints
Hint 1
The '+=' operator can concatenate (link) strings easily. Make sure your spelling is right, and you've left appropriate spaces.
var str = "Hello ";
str += "coding"; // Now the string reads "Hello coding"
str += "camper!"; // And now the string reads "Hello codingcamper!"