Tell us what’s happening:
Describe your issue in detail here.
hello, what might be wrong with this it does not work
Your code so far
const myStr = "FirstLine\n\\SecondLine\\\rThirdLine"; // 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/110.0.0.0 Safari/537.36
Challenge: Basic JavaScript - Escape Sequences in Strings
Link to the challenge:
Try using console.log(myStr) to see what your output shows.
Using the console.log() can help you to find out whether you have made any mistakes by checking the console. You can use this in the future to find out any mistakes or even to understand what is going on.
Even with that it does not work
Tell us what’s happening:
Describe your issue in detail here.
I am stuck here :
const myStr = 'FirstLine\n\t\\SecondLine\nThirdLine'; console.log(myStr) // 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/110.0.0.0 Safari/537.36
Challenge: Basic JavaScript - Escape Sequences in Strings
Link to the challenge:
That exact code works for me.