We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dbf7d1 commit 64c45deCopy full SHA for 64c45de
javascript/ql/lib/semmle/javascript/Arrays.qll
@@ -492,7 +492,7 @@ private module ArrayLibraries {
492
exists(DataFlow::MethodCallNode call |
493
call.getMethodName() = ["findLast", "find", "findLastIndex"] and
494
prop = arrayLikeElement() and
495
- obj = call.getReceiver().getALocalSource() and
+ obj = call.getReceiver() and
496
element = call.getCallback(0).getParameter(0)
497
)
498
}
0 commit comments