From 4d84d2c8ca1b5002c439e4a813ec6af4025f60fd Mon Sep 17 00:00:00 2001 From: Patrick Njuguna Date: Fri, 10 Jan 2020 07:18:44 +0300 Subject: [PATCH] find example fix added the output to the example --- 09_Day/09_day_higher_order_functions.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/09_Day/09_day_higher_order_functions.md b/09_Day/09_day_higher_order_functions.md index 407579ca..58af802e 100644 --- a/09_Day/09_day_higher_order_functions.md +++ b/09_Day/09_day_higher_order_functions.md @@ -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 >>](#) \ No newline at end of file +[<< Day 8](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/08_Day/08_day_objects.md) | [Day 10 >>](#)