We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77e5305 commit 607aed3Copy full SHA for 607aed3
javascript/ql/src/semmle/javascript/Expr.qll
@@ -413,7 +413,7 @@ class StringLiteral extends @stringliteral, Literal {
413
/**
414
* Gets the value of this string literal parsed as a regular expression, if possible.
415
*
416
- * All string literals have an associated regular expression tree, provided it can
+ * All string literals have an associated regular expression tree, provided they can
417
* be parsed without syntax errors.
418
*/
419
RegExpTerm asRegExp() { this = result.getParent() }
@@ -2664,4 +2664,4 @@ class OptionalChainRoot extends ChainElem {
2664
2665
class ImportMetaExpr extends @importmetaexpr, Expr {
2666
override predicate isImpure() { none() }
2667
-}
+}
0 commit comments