Fix a typo
This commit is contained in:
parent
36737518f8
commit
3b48deeffa
1 changed files with 1 additions and 1 deletions
|
@ -438,7 +438,7 @@ It works as intended, due to `[[HomeObject]]` mechanics. A method, such as `long
|
|||
|
||||
As we've known before, generally functions are "free", not bound to objects in JavaScript. So they can be copied between objects and called with another `this`.
|
||||
|
||||
The very existance of `[[HomeObject]]` violates that principle, because methods remember their objects. `[[HomeObject]]` can't be changed, so this bond is forever.
|
||||
The very existence of `[[HomeObject]]` violates that principle, because methods remember their objects. `[[HomeObject]]` can't be changed, so this bond is forever.
|
||||
|
||||
The only place in the language where `[[HomeObject]]` is used -- is `super`. So, if a method does not use `super`, then we can still consider it free and copy between objects. But with `super` things may go wrong.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue