When encountering these special characters in JavaScript programming, you need to use a backslash to add these special characters to the text string, which are the escape characters of JavaScript.
Unicode Character Value | Escape Sequence | Meaning | Category |
---|---|---|---|
\u0008 | \b | Backspace | |
\u0009 | \t | Tab | Whitespace |
\u000A | \n | New Line (Line Feed) | Line Terminator |
\u000B | \v | Vertical Tab | Whitespace |
\u000C | \f | Form Feed | Whitespace |
\u000D | \r | Carriage Return | Line Terminator |
\u002 | Space | Whitespace | |
\u0022 | \" | Double Quote (") | |
\u0027 | \' | Single Quote (') | |
\u005C | \\ | Backslash (\) | |
\u00A | No-Break Space | Whitespace | |
\u2028 | Line Separator | Line Terminator | |
\u2029 | Paragraph Separator | Line Terminator | |
\uFEFF | Zero Width No-Break Space (Byte Order Mark) | Whitespace |