JavaScript's escape characters.
| Character | Translation |
| \b | Backspace |
| \f | Form feed |
| \n | New line |
| \r | Carriage return |
| \t | Tab |
| \' | Single quote or apostrophe (') |
| \" | Double quote (") |
| \\ | Backslash (\) |
| \XXX | XXX is an octal number (between 0 and 377) that represent the Latin-1 character equivalent. For example \251 is the octal code for the copyright symbol. |
| \xXX | XX is a hexadecimal number (between 00 and FF) that represent the Latin-1 character equivalent. For example \xA9 is the hexadecimal code for the copyright symbol. |
| \uXXXX | XXXX is a hexadecimal number (between 00 and FF) that represent
the Unicode character equivalent. For example \u00A9 is the
hexadecimal code for the copyright symbol.
(Note: Unicode is only supported by JavaScript 1.3) |