I don't know where the error is?

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


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

Your browser information:

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

Challenge: Escape Sequences in Strings

Link to the challenge:

You need to use the newline character \n rather than putting line breaks in your string.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.