Escape Sequences in Strings- Error Not a function

I’ve got the correct answer in the window, as it appears to look the same as the example, but this is not the answer they are looking for.

Another set of eyes would be great!

The goal:


My code:

var myStr = "“FirstLine\n\SecondLine\\rThirdLine”"
Error:Not a function

There are actually two back spaces before SecondLine and after SecondLine, but they do not show up in the editor here, even though I’ve written them.


This has been solved, already.

The problem was a missing semi-colon. That was all.