From d781de4977b141ebfa5aa782f0b90fa6b3b09281 Mon Sep 17 00:00:00 2001 From: Patrick Njuguna Date: Fri, 10 Jan 2020 07:12:38 +0300 Subject: [PATCH] every examples fix --- 09_Day/09_day_higher_order_functions.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/09_Day/09_day_higher_order_functions.md b/09_Day/09_day_higher_order_functions.md index 407579c..e315e66 100644 --- a/09_Day/09_day_higher_order_functions.md +++ b/09_Day/09_day_higher_order_functions.md @@ -303,11 +303,11 @@ console.log(scoresGreaterEight) //[{name: 'Asabeneh', score: 95}, {name: 'Martha ```js const names = ['Asabeneh', 'Mathias', 'Elias', 'Brook'] const areAllStr = names.every((name) => typeof name ==='string'); -console.log(arrAllStr) // true; +console.log(areAllStr) // true; ``` ```js -const areAllTrue = [true, true, true, true] +const bools = [true, true, true, true] const areAllTrue = bools.every((b)=> { return b === true; }) @@ -581,4 +581,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 >>](#)