Merge branch 'regexp2'

This commit is contained in:
Ilya Kantor 2019-09-06 16:57:40 +03:00
commit 9869922dbf
88 changed files with 2500 additions and 2225 deletions

View file

@ -403,7 +403,7 @@ alert(item1); // Cake
alert(item2); // Donut
```
The whole `options` object except `extra` that was not mentioned, is assigned to corresponding variables:
All properties of `options` object except `extra` that is absent in the left part, are assigned to corresponding variables:
![](destructuring-complex.svg)

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() {...
// ...
}
};