Basic JavaScript: Escape Sequences in Strings /halp!

Basic JavaScript: Escape Sequences in Strings /halp!
0

#1

It says I there should be a newline character between SecondLine and ThirdLine.

Here’s my code…

var myStr = “FirstLine\n\t\SecondLine\\rThirdLine” ; // Change this line


#2

newline is \n

Go head and add it between SecondLine and ThirdLine.


#3

Ok I tried it. Thank you!