Link Search Menu Expand Document

Appending Variables to Strings

Summary

  • Variables can be appended using the += operator.

Final Code

// Change code below this line

var someAdjective = "fun";
var myStr = "Learning to code is ";
myStr+=someAdjective;