find example fix

added the output to the example
pull/49/head
Patrick Njuguna 5 years ago committed by GitHub
parent 6adedd1b7b
commit 4d84d2c8ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -345,6 +345,7 @@ const scores = [
const score = scores.find((user) => {
return user.score > 80
})
console.log(score) // { name: "Asabeneh", score: 95 }
```
### some
@ -581,4 +582,4 @@ console.log(users); // sorted ascending
🎉 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