How to fix this issue?

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

Your code so far


var myStr= "FirstLine
\\SecondLine
ThirdLine
\t"; 
// 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/93.0.4577.63 Safari/537.36

Challenge: Escape Sequences in Strings

Link to the challenge:

See the highlighted error and help me to fix it.

You can’t break a string over multiple lines like that.

I didn’t get you.
Have you seen instructions on the left side?

Yep. I’ve seen the instructions. The instructions talk about using special character sequences. You cannot break a string over multiple lines. You must use the special character sequences.

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