CodeQL library for JavaScript
Search

Predicate CharacterEscapes::getAnEscapedCharacter

Gets the ith character of raw, which is preceded by an uneven number of backslashes.

Import path

import semmle.javascript.CharacterEscapes
string getAnEscapedCharacter(string raw, int i)