Tell us what’s happening:
It’s probably a simple question, but I am really confused on how to go about this.
It is asking:
Assign the following three lines of text into the single variable myStr
using escape sequences.
FirstLine
\SecondLine
ThirdLine
my code so far:
var myStr; //\nFirstLine\t\nSecondLine\\\nThirdLine
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings