Trouble with "Escape Sequences in Strings challenge"

Tell us what’s happening:
I’m trying to figure out what I’m doing wrong here in the “Basic JavaScript” challenge, I ran a snippet on the code and the output was exactly what is being asked for but for some reason the only passing test is " myStr should not contain any spaces". If someone can point me in the right direction of what I’m missing here, I’m sure it’s obvious but I’m struggling.

Your code so far


var myStr; "FirstLine\n\t\\SecondLine\nThirdLine";


Your browser information:

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

Make sure to assign your string to myStr with equal sign.

1 Like

Oh wow, I can’t believe I missed that. That’s what I get for waiting a week since the last ones. I’m going to go back and refresh haha

Thank you very much!