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 >>](#)