From 99bd54e62c412fd800983e34e07f4b8992ee5640 Mon Sep 17 00:00:00 2001 From: Felix Linker Date: Mon, 12 Mar 2018 14:31:14 +0100 Subject: [PATCH] Trivial typo-fix --- 6-async/03-promise-chaining/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/6-async/03-promise-chaining/article.md b/6-async/03-promise-chaining/article.md index 53e0bf4f..3df3b0da 100644 --- a/6-async/03-promise-chaining/article.md +++ b/6-async/03-promise-chaining/article.md @@ -140,7 +140,7 @@ new Promise(function(resolve, reject) { Here the first `.then` shows `1` returns `new Promise(…)` in the line `(*)`. After one second it resolves, and the result (the argument of `resolve`, here it's `result*2`) is passed on to handler of the second `.then` in the line `(**)`. It shows `2` and does the same thing. -So the output is again 1 -> 2 > 4, but now with 1 second delay between `alert` calls. +So the output is again 1 -> 2 -> 4, but now with 1 second delay between `alert` calls. Returning promises allows us to build chains of asynchronous actions.