Tell us what’s happening:
Your code so far
var myStr = " FirstLine\n\SecondLine\\rThirdLine "; // Change this line; // Change this line
Your browser information:
Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36.
Link to the challenge:
You’ve forgotten that to show the \ you need to escape it as well so for showing “\” use \\. Hope this will help.
It had me stuck for a while too. It might have been the way… that I read the instructions. Remember the back slash is one of those characters that need to be escaped just like the line and carriage returns.
var myStr = " FirstLine\n_\SecondLine_\rThirdLine "; // Change this line; // Change this line