why is my code not running:
r*
var myStr "FirstLine\n\t\\SecondLine\nThirdLine"; // Change this line
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36
.
Challenge: Escape Sequences in Strings
Link to the challenge:
petrs
2
You need to assign the value to the variable (note the = operator):
var myStr = "FirstLine\n\t\\SecondLine\nThirdLine";
1 Like
This saved me. Thank you.