Merge pull request #49 from npnjuguna/npnjuguna-find-example-fix

find example fix
pull/53/head
Asabeneh 5 years ago committed by GitHub
commit ba53c499ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -345,6 +345,7 @@ const scores = [
const score = scores.find((user) => { const score = scores.find((user) => {
return user.score > 80 return user.score > 80
}) })
console.log(score) // { name: "Asabeneh", score: 95 }
``` ```
### some ### some
@ -581,4 +582,4 @@ console.log(users); // sorted ascending
🎉 CONGRATULATIONS ! 🎉 🎉 CONGRATULATIONS ! 🎉
[<< Day 8](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/08_Day/08_day_objects.md) | [Day 10 >>](#) [<< Day 8](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/08_Day/08_day_objects.md) | [Day 10 >>](#)

Loading…
Cancel
Save