Challenge Constructing Strings With Variables - ashish9342/FreeCodeCamp GitHub Wiki
Sometimes you will need to build a string, Mad Libs style. By using the concatenation operator +
, you can insert one or more variables into a string you're building.
var ourName = "Free Code Camp";
var ourStr = "Hello, our name is " + ourName + ", how are you?";