Skip to content

Commit a5bd731

Browse files
authored
Merge pull request #408 from felixlinker/patch-1
Trivial typo-fix
2 parents 5c378fb + 99bd54e commit a5bd731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

6-async/03-promise-chaining/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ new Promise(function(resolve, reject) {
140140

141141
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.
142142

143-
So the output is again 1 -> 2 > 4, but now with 1 second delay between `alert` calls.
143+
So the output is again 1 -> 2 -> 4, but now with 1 second delay between `alert` calls.
144144

145145
Returning promises allows us to build chains of asynchronous actions.
146146

0 commit comments

Comments
 (0)