Skip to content

Commit b947777

Browse files
authored
Merge pull request #2012 from leviding/patch-18
Fix minor typo error: ol number
2 parents 55f825c + dfcacf2 commit b947777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/10-error-handling/1-try-catch/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ The "rethrowing" technique can be explained in more detail as:
363363
364364
1. Catch gets all errors.
365365
2. In the `catch(err) {...}` block we analyze the error object `err`.
366-
2. If we don't know how to handle it, we do `throw err`.
366+
3. If we don't know how to handle it, we do `throw err`.
367367
368368
Usually, we can check the error type using the `instanceof` operator:
369369

0 commit comments

Comments
 (0)