Getting error on Basic JavaScript: Concatenating Strings with Plus Operator

Getting error on Basic JavaScript: Concatenating Strings with Plus Operator
0

You should use the + operator to build myStr .

var myStr = "This is the start. " + “This is the end.” ;


var myStr = "This is the start. " + "This is the end." ; 

Challenge: Concatenating Strings with Plus Operator

Link to the challenge:

1 Like

You can often save yourself a lot of time by looking at related topics on the forum. If you were to look at recent posts you would see that this has been asked and answered several times in the last hour.

1 Like