diff --git a/09_Day_Higher_order_functions/09_day_higher_order_functions.md b/09_Day_Higher_order_functions/09_day_higher_order_functions.md index 3c8a619..4324c56 100644 --- a/09_Day_Higher_order_functions/09_day_higher_order_functions.md +++ b/09_Day_Higher_order_functions/09_day_higher_order_functions.md @@ -105,7 +105,7 @@ console.log(sumArray(numbers)) ``` ```sh -15 +10 ``` The above example can be simplified as follows: @@ -125,7 +125,7 @@ console.log(sumArray(numbers)) ``` ```sh -15 +10 ``` ### setting time @@ -196,7 +196,7 @@ arr.forEach((element, index, arr) => console.log(index, element, arr)) ```js let sum = 0; const numbers = [1,2,3,4,5]; -numbers.forEach(num => console.log(num))) +numbers.forEach(num => console.log(num)) console.log(sum) ```