Escape Sequences in Strings Issue

Tell us what’s happening:
myStr should not contain any spaces
Passed
myStr should contain the strings FirstLine, SecondLine and ThirdLine (remember case sensitivity)
Passed
FirstLine should be followed by the newline character \n
myStr should contain a tab character \t which follows a newline character
Passed
SecondLine should be preceded by the backslash character \
Passed
There should be a newline character between SecondLine and ThirdLine

Your code so far


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

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings

Do you have a question?

I figured it out :grinning: