From dfcacf2d82b4ae7b4a259c50fa497e1090f84095 Mon Sep 17 00:00:00 2001 From: LeviDing Date: Sat, 18 Jul 2020 12:16:23 +0800 Subject: [PATCH] Fix minor typo error: ol number --- 1-js/10-error-handling/1-try-catch/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/10-error-handling/1-try-catch/article.md b/1-js/10-error-handling/1-try-catch/article.md index 7d41b71b..3a2dc4ed 100644 --- a/1-js/10-error-handling/1-try-catch/article.md +++ b/1-js/10-error-handling/1-try-catch/article.md @@ -363,7 +363,7 @@ The "rethrowing" technique can be explained in more detail as: 1. Catch gets all errors. 2. In the `catch(err) {...}` block we analyze the error object `err`. -2. If we don't know how to handle it, we do `throw err`. +3. If we don't know how to handle it, we do `throw err`. Usually, we can check the error type using the `instanceof` operator: