\\Escape Sequences in Strings\\

\\Escape Sequences in Strings\\
0

#1

My code is not meeting all the requirements.
The errors it pops up are:

myStr should contain the strings FirstLine, SecondLine and ThirdLine (remember case sensitivity)

There should be a newline character between SecondLine and ThirdLine.

I got some help saying that the error may be something related to case sensitivity. I triple checked and my codes capital letters matches the instructions.

Your code so far


var myStr = 'FirstLine\n\t\\SecondLine\nThirdline';

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 10718.88.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.118 Safari/537.36.

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


#2

In you string, replace Thirdline by ThirdLine. And before of Second replace \\ by \/