closes #3158
This commit is contained in:
parent
75da3f7028
commit
227b338b74
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ Here's the diagram (see the right part):
|
||||||
|
|
||||||
That's because methods `sayHi` and `sayBye` were initially created in `sayHiMixin`. So even though they got copied, their `[[HomeObject]]` internal property references `sayHiMixin`, as shown in the picture above.
|
That's because methods `sayHi` and `sayBye` were initially created in `sayHiMixin`. So even though they got copied, their `[[HomeObject]]` internal property references `sayHiMixin`, as shown in the picture above.
|
||||||
|
|
||||||
As `super` looks for parent methods in `[[HomeObject]].[[Prototype]]`, that means it searches `sayHiMixin.[[Prototype]]`, not `User.[[Prototype]]`.
|
As `super` looks for parent methods in `[[HomeObject]].[[Prototype]]`, that means it searches `sayHiMixin.[[Prototype]]`.
|
||||||
|
|
||||||
## EventMixin
|
## EventMixin
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue