From 19f7aa4ae5f1940a0678c6b618f9b84b367ab63e Mon Sep 17 00:00:00 2001 From: Mark Date: Mon, 18 Sep 2017 00:00:38 +0300 Subject: [PATCH 1/4] Typo - miss letter 't' Typo - miss 't', word 'between' in description arr.join() method --- 1-js/05-data-types/05-array-methods/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/05-data-types/05-array-methods/article.md b/1-js/05-data-types/05-array-methods/article.md index b5a4075b..d61a4a97 100644 --- a/1-js/05-data-types/05-array-methods/article.md +++ b/1-js/05-data-types/05-array-methods/article.md @@ -472,7 +472,7 @@ alert( str.split('') ); // t,e,s,t ``` ```` -The call [arr.join(str)](mdn:js/Array/join) does the reverse to `split`. It creates a string of `arr` items glued by `str` beween them. +The call [arr.join(str)](mdn:js/Array/join) does the reverse to `split`. It creates a string of `arr` items glued by `str` between them. For instance: From 3bc6f044b41cd1c1f9692307392997fb5c7d9a59 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Mon, 18 Sep 2017 01:47:39 +0200 Subject: [PATCH 2/4] Update LICENSE.md --- LICENSE.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 83b113c1..60f06924 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -12,5 +12,3 @@ Under the following terms: - **Attribution** — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. - **NonCommercial** — You may not use the material for commercial purposes. - **ShareAlike** — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original. - -To use the tutorial commercially, like printing a book and selling it, please get an approval. From 2b166e94473084b32dc2d3cf0b4bd254e1daba1b Mon Sep 17 00:00:00 2001 From: Micah Stubbs Date: Sun, 17 Sep 2017 17:12:54 -0700 Subject: [PATCH 3/4] Reggie --> Reggae https://en.wikipedia.org/wiki/Reggae --- 1-js/05-data-types/04-array/2-create-array/task.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1-js/05-data-types/04-array/2-create-array/task.md b/1-js/05-data-types/04-array/2-create-array/task.md index e6dab6a9..3e930079 100644 --- a/1-js/05-data-types/04-array/2-create-array/task.md +++ b/1-js/05-data-types/04-array/2-create-array/task.md @@ -10,7 +10,7 @@ Let's try 5 array operations. 2. Append "Rock-n-Roll" to the end. 3. Replace the value in the middle by "Classics". Your code for finding the middle value should work for any arrays with odd length. 4. Strip off the first value of the array and show it. -5. Prepend `Rap` and `Reggie` to the array. +5. Prepend `Rap` and `Reggae` to the array. The array in the process: @@ -19,6 +19,6 @@ Jazz, Blues Jazz, Bues, Rock-n-Roll Jazz, Classics, Rock-n-Roll Classics, Rock-n-Roll -Rap, Reggie, Classics, Rock-n-Roll +Rap, Reggae, Classics, Rock-n-Roll ``` From ac8ea0d37261823be41e9930ad0d80b833128e51 Mon Sep 17 00:00:00 2001 From: Stepan Ivanov Date: Mon, 18 Sep 2017 14:36:13 +1100 Subject: [PATCH 4/4] typo fix --- .../07-object-oriented-programming/08-class-patterns/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/07-object-oriented-programming/08-class-patterns/article.md b/1-js/07-object-oriented-programming/08-class-patterns/article.md index d548e20d..b27203d0 100644 --- a/1-js/07-object-oriented-programming/08-class-patterns/article.md +++ b/1-js/07-object-oriented-programming/08-class-patterns/article.md @@ -5,7 +5,7 @@ In object-oriented programming, a *class* is an extensible program-code-template for creating objects, providing initial values for state (member variables) and implementations of behavior (member functions or methods). ``` -There's a special syntax construct and a keyword `class` in JavaScript. But before studying it, we should consider that the term "class" comes the theory of object-oriented programming. The definition is cited above, and it's language-independant. +There's a special syntax construct and a keyword `class` in JavaScript. But before studying it, we should consider that the term "class" comes from the theory of object-oriented programming. The definition is cited above, and it's language-independant. In JavaScript there are several well-known programming patterns to make classes even without using the `class` keyword. And here we'll talk about them first.