Basic JavaScript - Escape Sequences in Strings

Not understanding why my code isn’t passing. Need some help, thanks!

Your code so far

const myStrt ="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/108.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Escape Sequences in Strings

Link to the challenge:

Pretty much got it. Check the name of your variable.

Thank you! Didn’t even notice that lol

1 Like

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