the "Escape Sequences in Strings" challenge requires this output :
this is my code:
var myStr = 'FirstLine\n\\SecondLine\\\rThirdLine';
however, I got this output:
"FirstLine\n\SecondLine\\rThirdLine" , exactly as I wrote it inside the single quote.
why didn't \n give me a newline for \SecondLine\?
where did the double quote at the two ends of the output come from?
why was the extra \ after \SecondLine\ included in the output?
Hope some answers from my fellow campers!