From fd70f751e4ac4ebb643a31dc52cd11e9cf4c750e Mon Sep 17 00:00:00 2001 From: Artur Haurylkevich Date: Mon, 18 Nov 2019 11:15:01 +0300 Subject: [PATCH] add consistency quick description: before: .catch(f) is the same as promise.then(null, f) after: .catch(f) is the same as .then(null, f) --- 1-js/11-async/02-promise-basics/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/11-async/02-promise-basics/article.md b/1-js/11-async/02-promise-basics/article.md index e3128954..f8de3055 100644 --- a/1-js/11-async/02-promise-basics/article.md +++ b/1-js/11-async/02-promise-basics/article.md @@ -205,7 +205,7 @@ let promise = new Promise((resolve, reject) => { }); *!* -// .catch(f) is the same as promise.then(null, f) +// .catch(f) is the same as .then(null, f) promise.catch(alert); // shows "Error: Whoops!" after 1 second */!* ```