Skip to content

Commit 0c4a5f5

Browse files
authored
Merge pull request github#5266 from geoffw0/isis
JS: Fix 'is, is' and 'is is'.
2 parents 1bd12e6 + 0e071b7 commit 0c4a5f5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class Expr extends @expr, ExprOrStmt, ExprOrType, AST::ValueNode {
115115
predicate isImpure() { any() }
116116

117117
/**
118-
* Holds if this expression is pure, that is, is its evaluation is guaranteed
118+
* Holds if this expression is pure, that is, its evaluation is guaranteed
119119
* to be side-effect free.
120120
*/
121121
predicate isPure() { not isImpure() }

javascript/ql/src/semmle/javascript/Stmt.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class ControlStmt extends TControlStmt, Stmt {
9595
}
9696

9797
/**
98-
* A loop, that is, is a while loop, a do-while loop, a for loop, or a for-in loop.
98+
* A loop, that is, a while loop, a do-while loop, a for loop, or a for-in loop.
9999
*
100100
* Examples:
101101
*

javascript/ql/src/semmle/javascript/security/dataflow/PrototypePollutionCustomizations.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module PrototypePollution {
1414
* Label for wrappers around tainted objects, that is, objects that are
1515
* not completely user-controlled, but contain a user-controlled object.
1616
*
17-
* For example, `options` below is is a tainted wrapper, but is not itself
17+
* For example, `options` below is a tainted wrapper, but is not itself
1818
* a tainted object:
1919
* ```
2020
* let options = {

0 commit comments

Comments
 (0)