Skip to content

Commit b688652

Browse files
authored
Sentence improvement
1 parent 0d9eea6 commit b688652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/05-data-types/05-array-methods/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ alert(user.name); // John
274274

275275
In real life arrays of objects is a common thing, so the `find` method is very useful.
276276

277-
Note that in the example we provide to `find` a single-argument function `item => item.id == 1`. Other parameters of `find` are rarely used.
277+
Note that in the example we provide to `find` the function `item => item.id == 1` with one argument. Other arguments of this function are rarely used.
278278

279279
The [arr.findIndex](mdn:js/Array/findIndex) method is essentially the same, but it returns the index where the element was found instead of the element itself.
280280

0 commit comments

Comments
 (0)