commit
4d59152ace
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ The result of a property access `user.hi` is not a function, but a value of Refe
|
||||||
(user, "hi", true)
|
(user, "hi", true)
|
||||||
```
|
```
|
||||||
|
|
||||||
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).
|
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).
|
||||||
|
|
||||||
Reference type is a special "intermediary" internal type, with the purpose to pass information from dot `.` to calling parentheses `()`.
|
Reference type is a special "intermediary" internal type, with the purpose to pass information from dot `.` to calling parentheses `()`.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue