Merge pull request #1332 from paroche/patch-24

Update article.md
This commit is contained in:
Ilya Kantor 2019-09-13 17:57:38 +03:00 committed by GitHub
commit 13bae5d9b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -228,9 +228,9 @@ If you come from another programming language, then you are probably used to the
In JavaScript `this` is "free", its value is evaluated at call-time and does not depend on where the method was declared, but rather on what object is "before the dot".
The concept of run-time evaluated `this` has both pluses and minuses. On the one hand, a function can be reused for different objects. On the other hand, greater flexibility opens a place for mistakes.
The concept of run-time evaluated `this` has both pluses and minuses. On the one hand, a function can be reused for different objects. On the other hand, the greater flexibility creates more possibilities for mistakes.
Here our position is not to judge whether this language design decision is good or bad. We'll understand how to work with it, how to get benefits and evade problems.
Here our position is not to judge whether this language design decision is good or bad. We'll understand how to work with it, how to get benefits and avoid problems.
```
## Internals: Reference Type