Skip to content

Update article.md #605

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 22, 2024
Merged

Update article.md #605

merged 3 commits into from
Feb 22, 2024

Conversation

mpodaniev
Copy link
Contributor

No description provided.

Copy link
Collaborator

@dolgachio dolgachio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Дякую, за виправлення, подивіться, будь ласка мої коментарі

@@ -60,7 +60,7 @@ let promise = new Promise(function(resolve, reject) {
1. Функція-виконавець викликається одразу ж при виклику `new Promise`.
2. Виконавець отримує два аргументи: `resolve` і `reject` -- ці функції вбудовані в JavaScript, тому нам непотрібно їх створювати. Нам слід всього лиш викликати одну з них по готовності.

Через одну секунду "обробки" виконавець викличе `resolve("done")`, щоб передати результат. Ця дія змінить стан об’єкта `promise` (що повертається конструктором `new Promise`) з `"pending"` на `"fulfilled"`:
Через одну секунду "обробки" виконавець викличе `resolve("завершено")`, щоб передати результат. Ця дія змінить стан об’єкта `promise` (що повертається конструктором `new Promise`) з `"pending"` на `"fulfilled"`:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Якщо зробити таку зміну, то треба ще перекласти текст на картинці promise-resolve-1.svg, бо інакше буде різний в двох місцях

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Зрозумів, відмінив переклад цього слова.

@javascript-translate-bot
Copy link
Contributor

Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻

@dolgachio dolgachio merged commit 87846ec into javascript-tutorial:master Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants