Please Help! Escape Sequences in Strings

Please Help! Escape Sequences in Strings
0

#1

Tell us what’s happening:

Your code so far


var myStr ="FirstLine\n\SecondLine\\rThirdLine";


Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36.

Link to the challenge:


#2

@msue82,
pay attention to the escape character ‘’. If you want to escape a forward slash, you need to put it twice.