This commit is contained in:
Ilya Kantor 2019-08-06 00:15:19 +03:00
parent cc25e231f4
commit 703a4f4678

View file

@ -77,4 +77,4 @@ alert( speedy.stomach ); // apple
alert( lazy.stomach ); // <nothing> alert( lazy.stomach ); // <nothing>
``` ```
As a common solution, all properties that describe the state of a particular object, like `stomach` above, are usually written into that object. That prevents such problems. As a common solution, all properties that describe the state of a particular object, like `stomach` above, should be written into that object. That prevents such problems.