Link Search Menu Expand Document

Concatenating Strings with Plus Operator

Summary

  • When using the + operator with strings, the values are concatenated.

Final Code

var myStr = "This is the start. " + "This is the end."; // Change this line