Escape Sequences in Strings - Better Explanation of What to Do?

Hi, the point of this lesson is to teach you how to type certain special characters in JS.

I wouldn’t bother thinking about when you’re going to use each case, specially a “backspace” in a string.
It seems more productive to learn that the escape character \ is used for that purpose, So when you’re facing a situation which requires you to, say include a new line in your string, you will know that you need to use a backslash.

Finally, the challenge is to write a pre-formatted string:

FirstLine
    \SecondLine
ThirdLine

This string clearly has: two carriage returns, a tab and a backslash.
For each one of these special characters you will be needing the escape character.
For example, the text a "laser" has a double quote mark, if you want it to appear in your string, you could either type: 'a "laser"', enclosing the string in single quotes, or "a \"laser\"", enclosing it in double quotes and using the escape character.