From e72024abf76bca816b2db7e5de9af9c1774b72d6 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Mon, 1 Sep 2025 12:16:33 -0500 Subject: [PATCH 1/8] docs: add ovysotskyi as a contributor for bug (#761) --- .all-contributorsrc | 9 +++++++++ README.md | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 5187d31bc..f8e28a8f2 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -1074,6 +1074,15 @@ "contributions": [ "bug" ] + }, + { + "login": "ovysotskyi", + "name": "Oleksii Vysotskyi", + "avatar_url": "https://avatars.githubusercontent.com/u/48288545?v=4", + "profile": "https://github.com/ovysotskyi", + "contributions": [ + "bug" + ] } ], "commitType": "docs", diff --git a/README.md b/README.md index 5c8172bcb..9e2f3944e 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Сучасний посібник по JavaScript українською мовою 🇺🇦 ## The Modern JavaScript Tutorial in Ukrainian 🇺🇦 -[![Перекладачі](https://img.shields.io/badge/all_contributors-117-orange.svg?style=flat-square)](#подяка-) +[![Перекладачі](https://img.shields.io/badge/all_contributors-118-orange.svg?style=flat-square)](#подяка-) В цьому репозиторії зберігається переклад посібника [https://uk.javascript.info](https://uk.javascript.info) з англійської на українську мову. @@ -212,6 +212,7 @@ P.S. Весь перелік мов і прогрес перекладу пос Svitwave
Svitwave

🐛 Konstantin Bylbas
Konstantin Bylbas

🌍 🐛 AgentKyt
AgentKyt

🐛 + Oleksii Vysotskyi
Oleksii Vysotskyi

🐛 From 6964d806b9e3799ea09d292df7b8a419b80fd38d Mon Sep 17 00:00:00 2001 From: Oleksii Vysotskyi <48288545+ovysotskyi@users.noreply.github.com> Date: Mon, 1 Sep 2025 20:17:31 +0300 Subject: [PATCH 2/8] Update typo (#760) --- 2-ui/1-document/03-dom-navigation/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-ui/1-document/03-dom-navigation/article.md b/2-ui/1-document/03-dom-navigation/article.md index b665a1208..9667e615a 100644 --- a/2-ui/1-document/03-dom-navigation/article.md +++ b/2-ui/1-document/03-dom-navigation/article.md @@ -160,7 +160,7 @@ elem.childNodes[elem.childNodes.length - 1] === elem.lastChild Для зміни DOM потрібні інші методи. Ми розберемо їх у наступному розділі. ``` -```warn header="DOM колецкції живі" +```warn header="DOM колекції живі" Майже всі колекції DOM, за незначними винятками, є *живими*. Іншими словами, вони завжди відображають поточний стан DOM. Якщо ми зберегли посилання на `elem.childNodes` і після цього додамо/видалимо вузли в DOM, вони автоматично з’являться в колекції. From 725f076b22bb129654c7a70cf28c965e4b7e96eb Mon Sep 17 00:00:00 2001 From: Yurii Date: 2025年11月24日 12:30:53 +0200 Subject: [PATCH 3/8] Fix alert for string method examples Added additional explanations in the code snippets --- 1-js/05-data-types/03-string/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1-js/05-data-types/03-string/article.md b/1-js/05-data-types/03-string/article.md index 8db70201a..0933819ce 100644 --- a/1-js/05-data-types/03-string/article.md +++ b/1-js/05-data-types/03-string/article.md @@ -140,7 +140,7 @@ alert( str.charAt(0) ); // П // останній символ alert( str[str.length - 1] ); // т -alert( str.at(-1) ); +alert( str.at(-1) ); // т ``` Як бачите, перевага методу `.at(pos)` полягає в тому, що він допускає від'ємну позицію. Якщо `pos` від'ємне число, тоді позиція відраховується з кінця рядка. @@ -174,7 +174,7 @@ for (let char of "Привіт") { let str = 'Ой'; str[0] = 'о'; // помилка -alert( str[0] ); // не працює +alert( str[0] ); // не працює, тому що у попередньому рядку помилка ``` Можна створити новий рядок замість старого, записавши його в ту саму змінну. From a06014a2e4a1bd924c9e7872bea3ca9a4e581bb6 Mon Sep 17 00:00:00 2001 From: Yurii Date: 2025年11月24日 15:13:07 +0200 Subject: [PATCH 4/8] Translate explanation about NaN in array methods Updated explanation for NaN behavior in array methods. --- 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 c4d9698f4..135f2d707 100644 --- a/1-js/05-data-types/05-array-methods/article.md +++ b/1-js/05-data-types/05-array-methods/article.md @@ -274,7 +274,7 @@ const arr = [NaN]; alert( arr.indexOf(NaN) ); // -1 (повинен бути 0, але === перевірка на рівність не працює з NaN) alert( arr.includes(NaN) );// true (вірно) ``` -That's because `includes` was added to JavaScript much later and uses the more up to date comparison algorithm internally. +Це пов’язано з тим, що метод `includes` був доданий до JavaScript значно пізніше і використовує більш сучасний алгоритм порівняння. ```` ### find і findIndex/findLastIndex From 774526253d88c91f93b439df66b577f305940a22 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: 2025年11月25日 18:49:33 +0000 Subject: [PATCH 5/8] docs: update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9e2f3944e..ce05c1efe 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Сучасний посібник по JavaScript українською мовою 🇺🇦 ## The Modern JavaScript Tutorial in Ukrainian 🇺🇦 -[![Перекладачі](https://img.shields.io/badge/all_contributors-118-orange.svg?style=flat-square)](#подяка-) +[![Перекладачі](https://img.shields.io/badge/all_contributors-119-orange.svg?style=flat-square)](#подяка-) В цьому репозиторії зберігається переклад посібника [https://uk.javascript.info](https://uk.javascript.info) з англійської на українську мову. @@ -213,6 +213,7 @@ P.S. Весь перелік мов і прогрес перекладу пос Konstantin Bylbas
Konstantin Bylbas

🌍 🐛 AgentKyt
AgentKyt

🐛 Oleksii Vysotskyi
Oleksii Vysotskyi

🐛 + Yurii
Yurii

🌍 From e91a4e8f4040d9083d5e7ed22765e684a3801407 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: 2025年11月25日 18:49:34 +0000 Subject: [PATCH 6/8] docs: update .all-contributorsrc --- .all-contributorsrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index f8e28a8f2..556aebbef 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -1083,6 +1083,15 @@ "contributions": [ "bug" ] + }, + { + "login": "YuraGB", + "name": "Yurii", + "avatar_url": "https://avatars.githubusercontent.com/u/26120957?v=4", + "profile": "https://github.com/YuraGB", + "contributions": [ + "translation" + ] } ], "commitType": "docs", From c08bd0edb948ecd6334038b0c469c9e89d7d8457 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: 2025年11月25日 20:07:02 +0000 Subject: [PATCH 7/8] docs: update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ce05c1efe..58fefc9a8 100755 --- a/README.md +++ b/README.md @@ -213,7 +213,7 @@ P.S. Весь перелік мов і прогрес перекладу пос Konstantin Bylbas
Konstantin Bylbas

🌍 🐛 AgentKyt
AgentKyt

🐛 Oleksii Vysotskyi
Oleksii Vysotskyi

🐛 - Yurii
Yurii

🌍 + Yurii
Yurii

🌍 🐛 From ad133c78e3fa88c8fb3aacc35d3056e7d6e0bff5 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: 2025年11月25日 20:07:03 +0000 Subject: [PATCH 8/8] docs: update .all-contributorsrc --- .all-contributorsrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 556aebbef..fd91d8c2e 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -1090,7 +1090,8 @@ "avatar_url": "https://avatars.githubusercontent.com/u/26120957?v=4", "profile": "https://github.com/YuraGB", "contributions": [ - "translation" + "translation", + "bug" ] } ],

AltStyle によって変換されたページ (->オリジナル) /