Escape Sequences in Strings \t 2018

Escape Sequences in Strings \t 2018
0.0 0

#1

Tell us what’s happening:
Looks like this exercise has changed and it used to be \r for some before.
My line is not getting through, I’m not sure what I’ve done wrong. Been working on this for some time.

Your code so far
var myStr = “FirstLine\n\t\SecondLine\nThirdLine”; // Change this line


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


Your browser information:

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

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


#2

Ok I just had to reset my browser and it was all good.