Basic JavaScript - Escape Sequences in Strings

Tell us what’s happening:
Describe your issue in detail here.
its not working, is something wrong?

Your code so far

var myStr = "Firstline\n\t\\Secondline\nThirdline"; // 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/104.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Escape Sequences in Strings

Link to the challenge:

You seem to have accidentally deleted your code?

Ah, it was a formatting error.

Sorry, but i dont understand

You’ve got three typos in there (they are all the same and have to do with case). Any strings given in the instructions must be used exactly as shown.

1 Like

Thanks alot, I appreciate.

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