Tell us what’s happening:
Can someone tell me what is wrong with this code please?
Here is the text with the escape sequences written out.
“FirstLine newline``tab``backslash
SecondLine newline
ThirdLine”
Your code so far
var myStr = "FirstLine/n/t//SecondLine/nThirdLine";
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
.
Challenge: Escape Sequences in Strings
Link to the challenge: