Skip to content

Commit 93ee824

Browse files
committed
fix jsdoc description
1 parent e41ce19 commit 93ee824

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rules/prefer-for-of.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,13 +211,13 @@ function isAssignee(startNode) {
211211
}
212212

213213
/**
214-
* Checks whether the all references of the index variable are used to get
214+
* Checks whether all references of the index variable are used to get
215215
* array elements.
216216
*
217217
* @param {RuleContext} context - The rule context object.
218218
* @param {ASTNode} node - The `for` loop node which is a simple array
219219
* traversing.
220-
* @returns {boolean} `true` if the the all references of the index variable are
220+
* @returns {boolean} `true` if all references of the index variable are
221221
* used to get array elements.
222222
*/
223223
function isIndexVarOnlyUsedToGetArrayElements(context, node) {

0 commit comments

Comments
 (0)