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 baef999 commit 77d2799Copy full SHA for 77d2799
javascript/ql/lib/semmle/javascript/Regexp.qll
@@ -959,7 +959,7 @@ private predicate isUsedAsNonMatchObject(DataFlow::MethodCallNode call) {
959
}
960
961
/**
962
- * Holds if `call` is a call to `search` whose result is used in a way that suggests it returns a number.
+ * Holds if `value` is used in a way that suggests it returns a number.
963
*/
964
pragma[inline]
965
private predicate isUsedAsNumber(DataFlow::LocalSourceNode value) {
0 commit comments