Predicate 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 semmle.javascript.dataflow.NodesSourceNode globalVarRef(string name)