minor
This commit is contained in:
parent
3f8fb3d87b
commit
f72af57b17
4 changed files with 5 additions and 4 deletions
|
@ -3,4 +3,5 @@
|
|||
That's because `this` is an object before the dot, so `rabbit.eat()` modifies `rabbit`.
|
||||
|
||||
Property lookup and execution are two different things.
|
||||
The method `rabbit.eat` is first found in the prototype, then executed with `this=rabbit`
|
||||
|
||||
The method `rabbit.eat` is first found in the prototype, then executed with `this=rabbit`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue