From 34a343d97d0316338e075b58fab1c03145389f35 Mon Sep 17 00:00:00 2001 From: Monster_01 <89054489+Charan-happy@users.noreply.github.com> Date: Fri, 17 Jun 2022 11:05:58 +0530 Subject: [PATCH 1/4] Update 09_day_higher_order_functions.md typo in line 88. instead of "where" "were" is there. Hence, it is updated --- 09_Day_Higher_order_functions/09_day_higher_order_functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9aa6871..1aceba5 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 @@ -85,7 +85,7 @@ const higherOrder = n => { console.log(higherOrder(2)(3)(10)) ``` -Let us see were we use call back functions. For instance the _forEach_ method uses call back. +Let us see where we use call back functions. For instance the _forEach_ method uses call back. ```js const numbers = [1, 2, 3, 4, 5] From d638db2adc85b33b15541024a99f9ef227146f12 Mon Sep 17 00:00:00 2001 From: Monster_01 <89054489+Charan-happy@users.noreply.github.com> Date: Sat, 18 Jun 2022 08:04:35 +0530 Subject: [PATCH 2/4] Update 10_day_Sets_and_Maps.md line 266 different instead of difference. it's A typo --- 10_Day_Sets_and_Maps/10_day_Sets_and_Maps.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/10_Day_Sets_and_Maps/10_day_Sets_and_Maps.md b/10_Day_Sets_and_Maps/10_day_Sets_and_Maps.md index 25dafe9..dde1074 100644 --- a/10_Day_Sets_and_Maps/10_day_Sets_and_Maps.md +++ b/10_Day_Sets_and_Maps/10_day_Sets_and_Maps.md @@ -263,7 +263,7 @@ Set(3) {3, 4, 5} ### Difference of sets -To find an the difference between two sets can be achieved using filter. Lets find the different of set A and set B (A \ B) +To find an the difference between two sets can be achieved using filter. Lets find the difference of set A and set B (A \ B) ```js let a = [1, 2, 3, 4, 5] From 63780ac601af45081029dac3f41f64964da05f29 Mon Sep 17 00:00:00 2001 From: Monster_01 <89054489+Charan-happy@users.noreply.github.com> Date: Sun, 19 Jun 2022 10:25:10 +0530 Subject: [PATCH 3/4] Update 11_day_destructuring_and_spreading.md a grammatical error in line 187: instead of "our" "we used to " is written --- .../11_day_destructuring_and_spreading.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/11_Day_Destructuring_and_spreading/11_day_destructuring_and_spreading.md b/11_Day_Destructuring_and_spreading/11_day_destructuring_and_spreading.md index d4ffc34..978a4e9 100644 --- a/11_Day_Destructuring_and_spreading/11_day_destructuring_and_spreading.md +++ b/11_Day_Destructuring_and_spreading/11_day_destructuring_and_spreading.md @@ -184,7 +184,7 @@ Node Express MongoDB ### Destructuring Object -When we destructure the name of the variable we use to destructure should be exactly the same as the key or property of the object. See the example below. +When we destructure the name of the variable our destructure should be exactly the same as the key or property of the object. See the example below. ```js const rectangle = { From 0e06e980bb222eb1fde24cc12a47386592627019 Mon Sep 17 00:00:00 2001 From: Monster_01 <89054489+Charan-happy@users.noreply.github.com> Date: Fri, 24 Jun 2022 07:47:02 +0530 Subject: [PATCH 4/4] Update 15_day_classes.md Typos --- 15_Day_Classes/15_day_classes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/15_Day_Classes/15_day_classes.md b/15_Day_Classes/15_day_classes.md index be9e8db..cc6c511 100644 --- a/15_Day_Classes/15_day_classes.md +++ b/15_Day_Classes/15_day_classes.md @@ -72,7 +72,7 @@ We have created an Person class but it does not have any thing inside. Instantiation class means creating an object from a class. We need the keyword _new_ and we call the name of the class after the word new. -Let us create a dog object from our Person class. +Let us create a person object from our Person class. ```js class Person { @@ -92,7 +92,7 @@ Let use the class constructor to pass different properties for the class. ### Class Constructor -The constructor is a builtin function which allows as to create a blueprint for our object. The constructor function starts with a keyword constructor followed by a parenthesis. Inside the parenthesis we pass the properties of the object as parameter. We use the _this_ keyword to attach the constructor parameters with the class. +The constructor is a builtin function which allows us to create a blueprint for our object. The constructor function starts with a keyword constructor followed by a parenthesis. Inside the parenthesis we pass the properties of the object as parameter. We use the _this_ keyword to attach the constructor parameters with the class. The following Person class constructor has firstName and lastName property. These properties are attached to the Person class using _this_ keyword. _This_ refers to the class itself.