Skip to content

Commit 601d958

Browse files
authored
Merge pull request #1530 from lumosmind/patch-5
add parameter definition to arr.find()
2 parents 4d02719 + 07a21c8 commit 601d958

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
@@ -268,7 +268,7 @@ alert( arr.includes(NaN) );// true (correct)
268268

269269
Imagine we have an array of objects. How do we find an object with the specific condition?
270270

271-
Here the [arr.find](mdn:js/Array/find) method comes in handy.
271+
Here the [arr.find(fn)](mdn:js/Array/find) method comes in handy.
272272

273273
The syntax is:
274274
```js

0 commit comments

Comments
 (0)