From c3548b61e17d0a9d952f91fe3786e11b6095841e Mon Sep 17 00:00:00 2001 From: Aadith PM Date: Sat, 17 Jun 2017 22:32:28 +0530 Subject: [PATCH 1/3] Edit typo --- 1-js/04-object-basics/04-object-methods/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/04-object-basics/04-object-methods/article.md b/1-js/04-object-basics/04-object-methods/article.md index 44a867e2..5328e5cf 100644 --- a/1-js/04-object-basics/04-object-methods/article.md +++ b/1-js/04-object-basics/04-object-methods/article.md @@ -278,7 +278,7 @@ Looking closely, we may notice two operations in `obj.method()` statement: 1. First, the dot `'.'` retrieves the property `obj.method`. 2. Then parentheses `()` execute it. -So, how the information about `this` gets passed from the first part to the second one? +So, how does the information about `this` gets passed from the first part to the second one? If we put these operations on separate lines, then `this` will be lost for sure: From 9f5ff214019a27f108009440d1662b8aac56479a Mon Sep 17 00:00:00 2001 From: Aadith PM Date: Sun, 18 Jun 2017 19:59:47 +0530 Subject: [PATCH 2/3] Edit typo --- 1-js/04-object-basics/06-constructor-new/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/04-object-basics/06-constructor-new/article.md b/1-js/04-object-basics/06-constructor-new/article.md index c314ccf5..b49de5cd 100644 --- a/1-js/04-object-basics/06-constructor-new/article.md +++ b/1-js/04-object-basics/06-constructor-new/article.md @@ -89,7 +89,7 @@ The constructor can't be called again, because it is not saved anywhere, just cr Inside a function, we can check whether it was called with `new` or without it, using a special `new.target` property. -It is empty for regulsar calls and equals the function if called with `new`: +It is empty for regular calls and equals the function if called with `new`: ```js run function User() { From ed1d8fbff494d73ad2335c147998d8a381979908 Mon Sep 17 00:00:00 2001 From: Yofri Date: Mon, 19 Jun 2017 04:43:08 +0700 Subject: [PATCH 3/3] i think this is wrong --- 1-js/03-code-quality/02-coding-style/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/03-code-quality/02-coding-style/article.md b/1-js/03-code-quality/02-coding-style/article.md index 7af470a2..e6977445 100644 --- a/1-js/03-code-quality/02-coding-style/article.md +++ b/1-js/03-code-quality/02-coding-style/article.md @@ -274,7 +274,7 @@ So it's recommended to install one, even if you don't want to stick to a "code s Most well-known tools are: - [JSLint](http://www.jslint.com/) -- one of the first linters. -- [JSHint](http://www.jshint.com/) -- more settings than JSHint. +- [JSHint](http://www.jshint.com/) -- more settings than JSLint. - [ESLint](http://eslint.org/) -- probably the newest one. All of them can do the job. The author uses [ESLint](http://eslint.org/).