Skip to content

Commit c8b717e

Browse files
authored
Update article.md
Change "occasional" to "accidental". I think that's what you mean, and the words are not synonymous in English.
1 parent bd6052f commit c8b717e

File tree

1 file changed

+1
-1
lines changed

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
@@ -92,7 +92,7 @@ new Promise((resolve, reject) => {
9292
}).catch(alert); // ReferenceError: blabla is not defined
9393
```
9494

95-
The final `.catch` not only catches explicit rejections, but also occasional errors in the handlers above.
95+
The final `.catch` not only catches explicit rejections, but also accidental errors in the handlers above.
9696

9797
## Rethrowing
9898

0 commit comments

Comments
 (0)