Skip to content

Commit 4c2658d

Browse files
authored
Fixed a grammatical error
1 parent eda333d commit 4c2658d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/11-async/03-promise-chaining/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The idea is that the result is passed through the chain of `.then` handlers.
3737
Here the flow is:
3838
1. The initial promise resolves in 1 second `(*)`,
3939
2. Then the `.then` handler is called `(**)`, which in turn creates a new promise (resolved with `2` value).
40-
3. The next `then` `(***)` gets the result of the previous one, processes it (doubles) and passes the next handler.
40+
3. The next `then` `(***)` gets the result of the previous one, processes it (doubles) and passes it to the next handler.
4141
4. ...and so on.
4242

4343
As the result is passed along the chain of handlers, we can see a sequence of `alert` calls: `1` -> `2` -> `4`.

0 commit comments

Comments
 (0)