Concantenating strings with plus equal operator

Hie guys kindly help me with the following issue:
The bellow is the error im receiving after running my code below that

myStr should have a value of This is the first sentence. This is the second sentence.

My code so far

        
// Only change code below this line

var myStr = " This is the first sentence.";

myStr += " This is the second sentence.";

console.log(myStr)

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36.

Challenge: Concatenating Strings with the Plus Equals Operator

Link to the challenge:

Hey there,

nice to meet you! :wave:

You should check for unnecessary spaces in your sentences.

1 Like

You are welcome , thank you for help.

Yeah its done now , thank you for help

1 Like