Basic JavaScript - Escape Sequences in Strings

Tell us what’s happening:

Not able to get the output after following the steps in the code.

Your code so far

const myStr = "FirstLine\n\t
    \\SecondLine\n
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/129.0.0.0 Safari/537.36

Challenge Information:

Basic JavaScript - Escape Sequences in Strings

Hi there!

You didn’t need to have each word on a separate line. Write it all on one line.

1 Like

Thank you very much by helping me to clear my doubt :).

1 Like