Assign the following three lines of text into the single variable myStr using escape sequences.
FirstLine
\SecondLine
ThirdLine
And it even tells you that you will need to use certain escape characters to do this. I’m assuming you know how to assign a string to a variable:
var myStr = "This is a string";
You want the string to look like the three lines of text above. Obviously you’ll want the words “FirstLine”, “SecondLine”, and “ThirdLine” in the string. The point of the challenge is to use escape characters to add the line breaks, tabs, and backslash. I’m confident you can do this.