Merge pull request #1341 from paroche/patch-32

Update solution.md
This commit is contained in:
Ilya Kantor 2019-09-14 09:31:06 +03:00 committed by GitHub
commit 478c32158b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ alert( lazy.stomach ); // <nothing>
Now all works fine, because `this.stomach=` does not perform a lookup of `stomach`. The value is written directly into `this` object.
Also we can totally evade the problem by making sure that each hamster has their own stomach:
Also we can totally avoid the problem by making sure that each hamster has their own stomach:
```js run
let hamster = {