We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8354909 commit 50e8f83Copy full SHA for 50e8f83
javascript/ql/src/semmle/javascript/dataflow/Nodes.qll
@@ -286,7 +286,7 @@ DataFlow::SourceNode globalObjectRef() {
286
result = moduleImport("global")
287
or
288
// Closure library - based on AST to avoid recursion with Closure library model
289
- result.asExpr().(DotExpr).getQualifiedName() = "goog.global"
+ result = globalVarRef("goog").getAPropertyRead("global")
290
}
291
292
/**
0 commit comments