Escape Sequences in Strings!

Escape Sequences in Strings!
0

#1

Tell us what’s happening:

Your code so far

var myStr="\"hi\"whatsupp\rcool\n"; // Change this line


Your browser information:

Your Browser User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36.

Link to the challenge:


#2

What is the problem? The output should look like this:

FirstLine
\SecondLine\
ThirdLine

It doesn’t appear that you’ve attempted this.