Basic JavaScript - Escape Sequences in Strings

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

Your code so far

var myStr = "\nFirstLine\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/107.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Escape Sequences in Strings

Link to the challenge:

hi there,

please remember for next time to post a question and not just some code.

I notice that you have a new line character at the start of the string. I believe this is not required for this test, so try to remove it.

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