aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/javascript/reference/global_objects/promise
diff options
context:
space:
mode:
authorAlexey Pyltsyn <lex61rus@gmail.com>2021-03-18 02:37:24 +0300
committerGitHub <noreply@github.com>2021-03-18 02:37:24 +0300
commit57e0abae4196d5e89486fa87171e12dd14f78584 (patch)
tree2180ef5a575f698475f078e4a05b746a09399b0d /files/ru/web/javascript/reference/global_objects/promise
parent242f0b78b42992e2e1c961fa81172f364d2be6ca (diff)
downloadtranslated-content-57e0abae4196d5e89486fa87171e12dd14f78584.tar.gz
translated-content-57e0abae4196d5e89486fa87171e12dd14f78584.tar.bz2
translated-content-57e0abae4196d5e89486fa87171e12dd14f78584.zip
Fix various typos (#203)
* Fix various typos * Auto fixes * Apply suggestions from code review Co-authored-by: Artem Shibakov <shibakow@gmail.com> * Apply suggestions from code review Co-authored-by: Artem Shibakov <shibakow@gmail.com> Co-authored-by: Artem Shibakov <shibakow@gmail.com>
Diffstat (limited to 'files/ru/web/javascript/reference/global_objects/promise')
-rw-r--r--files/ru/web/javascript/reference/global_objects/promise/resolve/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ru/web/javascript/reference/global_objects/promise/resolve/index.html b/files/ru/web/javascript/reference/global_objects/promise/resolve/index.html
index 287938607d..1b5cff1c3e 100644
--- a/files/ru/web/javascript/reference/global_objects/promise/resolve/index.html
+++ b/files/ru/web/javascript/reference/global_objects/promise/resolve/index.html
@@ -77,7 +77,7 @@ p1.then(function(v) {
});
// Thenable объект выбрасывает исключение
-// перед вызовом колбека Promise resolves
+// перед вызовом колбэка Promise resolves
var thenable = { then: function(resolve) {
throw new TypeError("Throwing");
resolve("Resolving");
@@ -91,7 +91,7 @@ p2.then(function(v) {
});
// Thenable объект выбрасывает исключение
-// после вызова колбека Promise resolves
+// после вызова колбэка Promise resolves
var thenable = { then: function(resolve) {
resolve("Resolving");
throw new TypeError("Throwing");