Useful for code generators, ESLint autofixers, and other tooling that needs to turn an arbitrary runtime string into JavaScript source code. Escapes backslashes, the quote character, and unsafe ...