Tell us what’s happening:
It says I need a new line between SecondLine and ThirdLine. Not entirely sure what is wrong, I’ve tried “SecondLine\n” as well as “\nThirdLine” but it didn’t work.
Your code so far
var myStr = '"FirstLine\n\t"\\"SecondLine"\n"ThirdLine"'; // Change this line
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1 Safari/605.1.15
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/escape-sequences-in-strings