Escape Sequences in Strings 2019

Tell us what’s happening:

I’ve already put the newline (\n) like i’ve been told to but there is still error asking me to put the newline character between SecondLine and ThirdLine.

Your code so far


var myStr ="FirstLine\n\t\\SecondLine\\\nThirdLine"; 
// Change this line


Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 9; CLT-L29) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36.

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

Add console.log(myStr) below your code and see your string in the console

You will see it doesn’t match the string written in the instructions