Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cea1049 commit 8c19f78Copy full SHA for 8c19f78
1 file changed
javascript/ql/src/semmle/javascript/DOM.qll
@@ -344,7 +344,7 @@ module DOM {
344
or
345
exists(JQuery::MethodCall call | this = call and call.getMethodName() = "get" |
346
call.getNumArgument() = 1 and
347
- forex(InferredType t | t = call.getArgument(0).analyze().getAType() | t = TTNumber())
+ unique(InferredType t | t = call.getArgument(0).analyze().getAType()) = TTNumber()
348
)
349
350
// A `this` node from a callback given to a `$().each(callback)` call.
0 commit comments