not sure what I am doing here it was it says to do
const myStr = "FirstLine\n\t\SecondLine\\nThirdLine"; // Change this line
-
myStr` should not contain any spaces -
Passed:
myStrshould contain the stringsFirstLine,SecondLineandThirdLine(remember case sensitivity) -
Passed:
FirstLineshould be followed by the newline character\n -
Passed:
myStrshould contain a tab character\twhich follows a newline character -
Failed:
SecondLineshould be preceded by the backslash character\ -
Failed:There should be a newline character between
SecondLineandThirdLine -
Failed:
myStrshould only contain characters shown in the instructions