This commit is contained in:
Ilya Kantor 2019-09-06 16:48:59 +03:00
parent 681cae4b6a
commit 4232a53219
10 changed files with 315 additions and 342 deletions

View file

@ -524,7 +524,7 @@ In the example below a non-method syntax is used for comparison. `[[HomeObject]]
```js run
let animal = {
eat: function() { // should be the short syntax: eat() {...}
eat: function() { // intentially writing like this instead of eat() {...
// ...
}
};