Quote and backslash characters will be appropriately escaped with backslashes so the strings will print correctly.
Very useful in applications where the code must be dynamically generated. This can come in handy for print HTML code via JavaScript print functions or set into variable, used in most JS frameworks like node.js, react.js, angular.js, etc. The HTML to JS Converter was created for online converting HTML into JS code.