From 71fec328c12b481b4578a56c50f792ab8fd3b4c2 Mon Sep 17 00:00:00 2001 From: Zaramont Date: Wed, 11 Oct 2017 14:43:17 +0300 Subject: [PATCH 1/2] Spelling mistake in word "behavior" Spelling mistake in word "behavior" --- .../14-function-basics/1-if-else-required/task.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/14-function-basics/1-if-else-required/task.md b/1-js/02-first-steps/14-function-basics/1-if-else-required/task.md index 743ba78a..4f69a5c8 100644 --- a/1-js/02-first-steps/14-function-basics/1-if-else-required/task.md +++ b/1-js/02-first-steps/14-function-basics/1-if-else-required/task.md @@ -35,4 +35,4 @@ function checkAge(age) { } ``` -Is there any difference in the bahavior of these two variants? +Is there any difference in the behavior of these two variants? From bfb9ca52dfd4615833c2532cf9d99927849cfb10 Mon Sep 17 00:00:00 2001 From: Dallin parker Date: Wed, 11 Oct 2017 12:54:45 -0400 Subject: [PATCH 2/2] Update article.md I believe you're referring to a "novice" user --- 1-js/07-object-oriented-programming/09-class/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/07-object-oriented-programming/09-class/article.md b/1-js/07-object-oriented-programming/09-class/article.md index 717376e8..549a40e1 100644 --- a/1-js/07-object-oriented-programming/09-class/article.md +++ b/1-js/07-object-oriented-programming/09-class/article.md @@ -43,7 +43,7 @@ let user = new User("John"); user.sayHi(); ``` -It's easy to see that the two examples are alike. Just please note that methods in a class do not have a comma between them. Notice developers sometimes forget it and put a comma between class methods, and things don't work. That's not a literal object, but a class syntax. +It's easy to see that the two examples are alike. Just please note that methods in a class do not have a comma between them. Novice developers sometimes forget it and put a comma between class methods, and things don't work. That's not a literal object, but a class syntax. So, what exactly does `class` do? We may think that it defines a new language-level entity, but that would be wrong.