From 16d4ffdccc9b5c692aa3f036b3aeff9a4f92b902 Mon Sep 17 00:00:00 2001 From: Het Patel <107104358+Het-Patel69@users.noreply.github.com> Date: Fri, 16 Jun 2023 23:29:11 +0530 Subject: [PATCH] Update 20_day_writing_clean_codes.md Some spelling errors --- 20_Day_Writing_clean_codes/20_day_writing_clean_codes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/20_Day_Writing_clean_codes/20_day_writing_clean_codes.md b/20_Day_Writing_clean_codes/20_day_writing_clean_codes.md index 8579b6b..a5117cc 100644 --- a/20_Day_Writing_clean_codes/20_day_writing_clean_codes.md +++ b/20_Day_Writing_clean_codes/20_day_writing_clean_codes.md @@ -180,11 +180,11 @@ const showDateTime = () => { } ``` -The `new Dat().toLocaleString()` can also be used to display current date time. The `toLocaleString()` methods takes different arguments. You may learn more about date and time from this [link](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString). +The `new Date().toLocaleString()` can also be used to display current date time. The `toLocaleString()` methods takes different arguments. You may learn more about date and time from this [link](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString). #### Loops -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. +We covered 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