Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9e3065f

Browse files
committed
Fix a comment
1 parent 445bda3 commit 9e3065f

File tree

1 file changed

+1
-1
lines changed
  • 1-js/11-async/04-promise-error-handling

1 file changed

+1
-1
lines changed

‎1-js/11-async/04-promise-error-handling/article.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Here the `.catch` block finishes normally. So the next successful `.then` handle
122122
In the example below we see the other situation with `.catch`. The handler `(*)` catches the error and just can't handle it (e.g. it only knows how to handle `URIError`), so it throws it again:
123123

124124
```js run
125-
// the execution: catch -> catch -> then
125+
// the execution: catch -> catch
126126
new Promise((resolve, reject) => {
127127

128128
throw new Error("Whoops!");

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /