mdn / sprints

Archived: MDN Web Docs issues are tracked in the content repository.
https://github.com/mdn/content
Creative Commons Zero v1.0 Universal
150 stars 142 forks source link

Correction #3949

Closed shivamrathi99 closed 3 years ago

shivamrathi99 commented 3 years ago

URL(s)

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find

Request type

Details

(This is what a visitor sees when he finds this array method, it does not describe what will be returned if no value satisfies the testing function)

The find() method returns the value of the first element in the provided array that satisfies the provided testing function.

(This could be what he sees)

The find() method returns the value of the first element in the provided array that satisfies the provided testing function. Otherwise, undefined is returned.

Thanks.

chrisdavidmills commented 3 years ago

Fixed; thanks for reporting!