From c3ef6c07eb054d63cbaae8f5b4734dfe1916cbe4 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Sat, 21 Sep 2019 22:29:38 +0300 Subject: [PATCH] fix --- 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 5c4bcb2a..5f2c5cff 100644 --- a/1-js/11-async/02-promise-basics/article.md +++ b/1-js/11-async/02-promise-basics/article.md @@ -267,7 +267,7 @@ It's not exactly an alias of `then(f,f)` though. There are several important dif If a promise is pending, `.then/catch/finally` handlers wait for it. Otherwise, if a promise has already settled, they execute immediately: ```js run -// an immediately resolved promise +// the promise becomes resolved immediately upon creation let promise = new Promise(resolve => resolve("done!")); promise.then(alert); // done! (shows up right now)