CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.2.1-dev (changelog, source)
Search

Predicate escape

Gets the result of backslash-escaping newlines, carriage-returns, backslashes, and unicode characters in s.

Import path

import codeql.util.Strings
string escape(string s)