Skip to content

Commit 607aed3

Browse files
Update javascript/ql/src/semmle/javascript/Expr.qll
Co-Authored-By: Max Schaefer <54907921+max-schaefer@users.noreply.github.com>
1 parent 77e5305 commit 607aed3

File tree

1 file changed

+2
-2
lines changed
  • javascript/ql/src/semmle/javascript

1 file changed

+2
-2
lines changed

javascript/ql/src/semmle/javascript/Expr.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ class StringLiteral extends @stringliteral, Literal {
413413
/**
414414
* Gets the value of this string literal parsed as a regular expression, if possible.
415415
*
416-
* All string literals have an associated regular expression tree, provided it can
416+
* All string literals have an associated regular expression tree, provided they can
417417
* be parsed without syntax errors.
418418
*/
419419
RegExpTerm asRegExp() { this = result.getParent() }
@@ -2664,4 +2664,4 @@ class OptionalChainRoot extends ChainElem {
26642664
*/
26652665
class ImportMetaExpr extends @importmetaexpr, Expr {
26662666
override predicate isImpure() { none() }
2667-
}
2667+
}

0 commit comments

Comments
 (0)