Escape Sequences in Strings pls help

Tell us what’s happening:

Your code so far


var myStr=“FirstLine" "\n\t\SecondLine""\n\ThirdLine";

Your browser information:

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

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

the solution is “FirstLine\n\t\SecondLine\n\ThirdLine”; i got it

1 Like