Tell us what’s happening:
Describe your issue in detail here.
Please tell me where to input the \t in the code
myStr
should contain a tab character \t
which follows a newline character
Your code so far
const myStr = “FirstLine\n\SecondLine\nThirdLine”; // Change this line
const myStr = "FirstLine\n\\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: