Hola! escribi esta oracion y no puedo pasar de nivel

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

var myStr;“FirstLine\n\t\SecondLine\nThirdLine”// Change this line
Your code so far


var myStr;"FirstLine
\t\\SecondLine
ThirdLine"// Change this line

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36

Challenge: Escape Sequences in Strings

Link to the challenge:

First of all, these must all be on the same line. The string you define is on one line, but you will insert the escape character for “new line” to add lines to the output.

Secondly, your assignment, you have:

var myStr; ...

What is the semicolon doing there? In JS, assignments are done as:

var myNum = 127;

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