diff options
Diffstat (limited to 'files/ru/web/javascript/reference/global_objects/promise')
-rw-r--r-- | files/ru/web/javascript/reference/global_objects/promise/resolve/index.html | 4 |
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"); |