diff --git a/1-js/11-async/03-promise-chaining/promise-handler-variants.svg b/1-js/11-async/03-promise-chaining/promise-handler-variants.svg index 24d0bd2d..662e5e22 100644 --- a/1-js/11-async/03-promise-chaining/promise-handler-variants.svg +++ b/1-js/11-async/03-promise-chaining/promise-handler-variants.svg @@ -6,7 +6,7 @@ - + return value @@ -15,17 +15,17 @@ return promise - throw error + throw error state: "fulfilled" result: value - + - state: "rejected" - result: error + state: "rejected" + result: error @@ -36,19 +36,19 @@ ...with the result of the new promise... - + - state: "pending" - result: undefined + state: "pending" + result: undefined - the call of .then(handler) always returns a promise: + the call of .then(handler) always returns a promise: - if handler ends with… + if handler ends with… - that promise settles with: + that promise settles with: