Skip to content

Commit 855c544

Browse files
Minor spelling correction
1 parent ccc0e93 commit 855c544

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
@@ -365,7 +365,7 @@ loadJson('/article/promise-chaining/user.json')
365365

366366
## Error handling
367367

368-
Asynchronous actions may sometimes fail: in case of an error the corresponding promises becomes rejected. For instance, `fetch` fails if the remote server is not available. We can use `.catch` to handle errors (rejections).
368+
Asynchronous actions may sometimes fail: in case of an error the corresponding promise becomes rejected. For instance, `fetch` fails if the remote server is not available. We can use `.catch` to handle errors (rejections).
369369

370370
Promise chaining is great at that aspect. When a promise rejects, the control jumps to the closest rejection handler down the chain. That's very convenient in practice.
371371

0 commit comments

Comments
 (0)