JavaScript Escape or Unescape online helps you to escapes the characters in a javascript document as per the EcmaScript rules. Below characters should be properly escaped for parsing the javascript file.
For example
- Horizontal Tab should be replaced with \t
- Vertical Tab should be replaced with \v
- Nul char should be replaced with \0
- Backspace should be replaced with \b
- Form feed should be replaced with \f
- Newline should be replaced with \n
- Carriage return should be replaced with \r
- Single quote should be replaced with \'
- Double quote should be replaced with \"
- Backslash should be replaced with \\