kiragu
#1
Tell us what’s happening:
Your code so far
var myStr="
FirstLine
\t\\SecondLine
ThirdLine";//Changethisline
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
.
Challenge: Escape Sequences in Strings
Link to the challenge:
nibble
#2
Hi @kiragu. Welcome to FCC. The string must be in one line like:
var myStr="FirstLine\t\\SecondLine\nThirdLine"
Take note it will not pass because you have to include \n
somewhere in the string for a new line.
kiragu
#3
thanks @nibble got it right