Skip to content

Commit 138fb2e

Browse files
committed
2 parents b6c7a71 + 9d0c74b commit 138fb2e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

1-js/03-code-quality/02-coding-style/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ So it's recommended to install one, even if you don't want to stick to a "code s
274274
Most well-known tools are:
275275

276276
- [JSLint](http://www.jslint.com/) -- one of the first linters.
277-
- [JSHint](http://www.jshint.com/) -- more settings than JSHint.
277+
- [JSHint](http://www.jshint.com/) -- more settings than JSLint.
278278
- [ESLint](http://eslint.org/) -- probably the newest one.
279279

280280
All of them can do the job. The author uses [ESLint](http://eslint.org/).

1-js/04-object-basics/04-object-methods/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ Looking closely, we may notice two operations in `obj.method()` statement:
278278
1. First, the dot `'.'` retrieves the property `obj.method`.
279279
2. Then parentheses `()` execute it.
280280

281-
So, how the information about `this` gets passed from the first part to the second one?
281+
So, how does the information about `this` gets passed from the first part to the second one?
282282

283283
If we put these operations on separate lines, then `this` will be lost for sure:
284284

1-js/04-object-basics/06-constructor-new/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ The constructor can't be called again, because it is not saved anywhere, just cr
8989

9090
Inside a function, we can check whether it was called with `new` or without it, using a special `new.target` property.
9191

92-
It is empty for regulsar calls and equals the function if called with `new`:
92+
It is empty for regular calls and equals the function if called with `new`:
9393

9494
```js run
9595
function User() {

0 commit comments

Comments
 (0)