Merge pull request #46 from aadithpm/patch-6

Edit typo
This commit is contained in:
Ilya Kantor 2017-06-19 09:54:58 +03:00 committed by GitHub
commit 9d0c74b5e1

View file

@ -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: