The + operator is being used but wont pass the test

Tell us what’s happening:

The test wont pass and asks for the + operator, but I am using the + operator…am I missing something?

Your code so far


var myStr = "This is the start. " + "This is the end."; // Only change this line
console.log(myStr);

Your browser information:

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

Challenge: Concatenating Strings with Plus Operator

Link to the challenge:

Same thing happens for the following modules as well. It won’t recognize when i use the += operator

It’s a known bug that was fixed, the site just needs to be updated. Please try the challenges again a bit later.

Sorry for the inconvenience.

1 Like