[JS] Escape Sequences in Strings, what?

[JS] Escape Sequences in Strings, what?
0.0 0

#1

So I got the solution for this one for some reason even though I thought the text was actually supposed to be laid out in the console like:

FirstLine
\SecondLine
ThirdLine

? I’m confident I used the right escapes here but it just comes out to all one line? Why is that?


#2

So you passed all the tests? What code did you use?
To display a code block into the forum, precede it with a line of three backticks and follow it with a line of three backticks to make easier to read. See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.