-
Notifications
You must be signed in to change notification settings - Fork 179
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
Update article.md #605
Conversation
There was a problem hiding this 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"`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Якщо зробити таку зміну, то треба ще перекласти текст на картинці promise-resolve-1.svg
, бо інакше буде різний в двох місцях
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Зрозумів, відмінив переклад цього слова.
Please make the requested changes. After it, add a comment "/done". |
No description provided.