Basic JavaScript - Concatenating Strings with Plus Operator

I don’t know what I’m doing wrong, it keeps saying:
myStr should have a value of the string This is the start. This is the end.

Your code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15

Challenge: Basic JavaScript - Concatenating Strings with Plus Operator

Link to the challenge:

Did they ask for the space at the end of the string? Or only in between?

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