From 891613968aec82e737af5ab8d6e9c7fe0c3f8d6d Mon Sep 17 00:00:00 2001 From: Diego Dario Date: Wed, 22 Jan 2020 15:58:45 -0300 Subject: [PATCH] fix typo --- 20_Day/20_day_writing_clean_code.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/20_Day/20_day_writing_clean_code.md b/20_Day/20_day_writing_clean_code.md index 15a00d7..a846561 100644 --- a/20_Day/20_day_writing_clean_code.md +++ b/20_Day/20_day_writing_clean_code.md @@ -137,7 +137,7 @@ const vegetables = ['Tomato', 'Potato', 'Cabbage', 'Onion', 'Carrot'] #### Functions -By now you are very familiar function declaration, expression function, arrow function and anonymous function. In this challenge we tend to use array function instead of other functions. Arrow function is not a replacement for other functions. In addition, arrow functions and function declarations are not exactly the same. So you should know when to use and when not. I will cover the difference in detail in other sections. We will use explicit return instead of implicit return if the function is one liner +By now you are very familiar function declaration, expression function, arrow function and anonymous function. In this challenge we tend to use arrow function instead of other functions. Arrow function is not a replacement for other functions. In addition, arrow functions and function declarations are not exactly the same. So you should know when to use and when not. I will cover the difference in detail in other sections. We will use explicit return instead of implicit return if the function is one liner ```js // function which prints full name of a person @@ -182,7 +182,7 @@ const showDateTime = () => { #### Loops -We coverer many types of loops in this challenges. The regular fo loop, while loop, do while loop, for of loop, forEach loop and for in loop. +We coverer many types of loops in this challenges. The regular for loop, while loop, do while loop, for of loop, forEach loop and for in loop. Lets see how we use them: ```js @@ -356,4 +356,4 @@ Whatever style guide you follow be consistent. Follow some programming paradigms 🎉 CONGRATULATIONS ! 🎉 -[<< Day 19](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/19_Day/19_day_closure.md) | [Day 21 >>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/21_Day/21_day_dom.md) \ No newline at end of file +[<< Day 19](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/19_Day/19_day_closure.md) | [Day 21 >>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/21_Day/21_day_dom.md)