Basic JavaScript - Concatenating Strings with the Plus Equals Operator

Tell us what’s happening:

Describe your issue in detail here.

Your code so far

let myStr="This is the first sentence.";
myStr+="This is the second sentence.";
console.log(myStr);// why all the test is not passing.

Your browser information:

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

Challenge Information:

Basic JavaScript - Concatenating Strings with the Plus Equals Operator

Welcome to the community @sujit16240 !

See if a space after the first sentence . may help pass the lesson.

Happy coding!

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.