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 e41ce19 commit 93ee824Copy full SHA for 93ee824
lib/rules/prefer-for-of.js
@@ -211,13 +211,13 @@ function isAssignee(startNode) {
211
}
212
213
/**
214
- * Checks whether the all references of the index variable are used to get
+ * Checks whether all references of the index variable are used to get
215
* array elements.
216
*
217
* @param {RuleContext} context - The rule context object.
218
* @param {ASTNode} node - The `for` loop node which is a simple array
219
* traversing.
220
- * @returns {boolean} `true` if the the all references of the index variable are
+ * @returns {boolean} `true` if all references of the index variable are
221
* used to get array elements.
222
*/
223
function isIndexVarOnlyUsedToGetArrayElements(context, node) {
0 commit comments