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

Member predicate Expr::accessesGlobal

Holds if this expression accesses the global variable g, either directly or through the window object.

predicate accessesGlobal(string g)