pls can someone tell me how to go about this?
myStr should not contain any spaces
myStr should contain the strings FirstLine , SecondLine and ThirdLine (remember case sensitivity)
Passed
FirstLine should be followed by the newline character \n
Passed
myStr should contain a tab character \t which follows a newline character
SecondLine should be preceded by the backslash character \
There should be a newline character between SecondLine and ThirdLine
myStr should only contain characters shown in the instructions
Your code so far
var myStr= "FirstLine
\t"; "\\SecondLine
"; " ThirdLine"; // Change this line
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36.
Challenge: Escape Sequences in Strings
Link to the challenge: