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

Member predicate DataFlow::Node::accessesGlobal

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

predicate accessesGlobal(string g)