I missing the first and fourth Objective and I dont understand why ?
firstLine and you didn’t include any backslashes.
Note that the backslash itself must be escaped in order to display as a backslash.
var myStr=“FirsLine\nSecondLine\rThirdLine”;// Change this line
Im still missing the first objective point
-myStr should have encoded text with the proper escape sequences and no spacing.
What does it mean by encoding ?
1\n2 is encoded, because if you
console.log("1\n2") it will not literally print