From 4232a53219f86a4eaed57cc810e2faeeeaa2c84d Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Fri, 6 Sep 2019 16:48:59 +0300 Subject: [PATCH] WIP --- .../10-destructuring-assignment/article.md | 2 +- .../02-class-inheritance/article.md | 2 +- 2-ui/4-forms-controls/2-focus-blur/article.md | 23 +- .../01-regexp-introduction/article.md | 6 +- .../02-regexp-character-classes/article.md | 22 +- .../03-regexp-unicode/article.md | 4 +- .../07-regexp-escaping/article.md | 8 +- .../11-regexp-groups/article.md | 18 +- .../16-regexp-sticky/article.md | 142 ++++-- .../17-regexp-methods/article.md | 430 +++++++----------- 10 files changed, 315 insertions(+), 342 deletions(-) diff --git a/1-js/05-data-types/10-destructuring-assignment/article.md b/1-js/05-data-types/10-destructuring-assignment/article.md index dec2535a..c2288847 100644 --- a/1-js/05-data-types/10-destructuring-assignment/article.md +++ b/1-js/05-data-types/10-destructuring-assignment/article.md @@ -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) diff --git a/1-js/09-classes/02-class-inheritance/article.md b/1-js/09-classes/02-class-inheritance/article.md index 108cc11f..6921698e 100644 --- a/1-js/09-classes/02-class-inheritance/article.md +++ b/1-js/09-classes/02-class-inheritance/article.md @@ -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() {... // ... } }; diff --git a/2-ui/4-forms-controls/2-focus-blur/article.md b/2-ui/4-forms-controls/2-focus-blur/article.md index 695b69c9..6a605bc0 100644 --- a/2-ui/4-forms-controls/2-focus-blur/article.md +++ b/2-ui/4-forms-controls/2-focus-blur/article.md @@ -106,22 +106,27 @@ The best recipe is to be careful when using these events. If we want to track us By default many elements do not support focusing. -The list varies between browsers, but one thing is always correct: `focus/blur` support is guaranteed for elements that a visitor can interact with: `