Escape String Problem

Escape String Problem
0

#1

Need some help with this problem, not sure what I’m doing wrong.
Here’s what they want:
FirstLine
\SecondLine
ThirdLine

Here’s my code:

var myStr = 'FirstLine\n\\SecondLine\\\rThridLine'; // Change this line

Any suggestions?

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0.

Link to the challenge:


#2

Check your string carefully. You have a typo.


#3

Ughh…Thanks a ton! Was driving me nuts.