typo: it's > its

just a casual small typo
This commit is contained in:
daGo 2018-07-09 20:53:06 +03:00 committed by GitHub
parent fb99525ba8
commit 48f942c093
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -312,7 +312,7 @@ The result of a property access `user.hi` is not a function, but a value of Refe
(user, "hi", true)
```
When parentheses `()` are called on the Reference Type, they receive the full information about the object and it's method, and can set the right `this` (`=user` in this case).
When parentheses `()` are called on the Reference Type, they receive the full information about the object and its method, and can set the right `this` (`=user` in this case).
Any other operation like assignment `hi = user.hi` discards the reference type as a whole, takes the value of `user.hi` (a function) and passes it on. So any further operation "loses" `this`.