From b39097e5a0799c2a2515a8a1d50137b26c69f769 Mon Sep 17 00:00:00 2001 From: Joseph Bak <36170953+josephbak@users.noreply.github.com> Date: Thu, 17 Mar 2022 11:51:17 -0400 Subject: [PATCH] Fixing a typo in 07_day_functions.md In Unlimited number of parameters in arrow function, there is an unexpected token ')'. It's been removed. --- 07_Day_Functions/07_day_functions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/07_Day_Functions/07_day_functions.md b/07_Day_Functions/07_day_functions.md index 983c72a..01b1fb7 100644 --- a/07_Day_Functions/07_day_functions.md +++ b/07_Day_Functions/07_day_functions.md @@ -273,7 +273,7 @@ const sumAllNums = (...args) => { console.log(args) } -sumAllNums(1, 2, 3, 4)) +sumAllNums(1, 2, 3, 4) // [1, 2, 3, 4] ``` @@ -705,4 +705,4 @@ It Will be covered in other section. 🎉 CONGRATULATIONS ! 🎉 -[<< Day 6](../06_Day_Loops/06_day_loops.md) | [Day 8 >>](../08_Day_Objects/08_day_objects.md) \ No newline at end of file +[<< Day 6](../06_Day_Loops/06_day_loops.md) | [Day 8 >>](../08_Day_Objects/08_day_objects.md)