WIP
This commit is contained in:
parent
681cae4b6a
commit
4232a53219
10 changed files with 315 additions and 342 deletions
|
@ -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() {...
|
||||
// ...
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue