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) => { const score = scores.find((user) => {
return user.score > 80 return user.score > 80
}) })
console.log(score) // { name: "Asabeneh", score: 95 }
``` ```
### some ### some

Loading…
Cancel
Save