characters in javascript code example
Example 1: javascript backslash
You have to type a double backslash. Like: \\
Example 2: escape in javascript
escape sequences in javascript
\' single quote
\" doucle quote
\\ backslash
\n newline
\r carriage return
\t tab
\b backspace
\f form feed