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

Predicate DataFlow :: globalVarRef

Gets a data flow node corresponding to an access to global variable name, either directly, through window or global, or through the global npm package.

Examples:

document
Math
window.document
window.Math
require('global/document')

Import path

import javascript
SourceNode globalVarRef ( string name )