From aaa724503620459303d77d0f2e57445a36959f9c Mon Sep 17 00:00:00 2001 From: Mohd Shuaib Siddiqui <76000560+shoebxsiddiqui@users.noreply.github.com> Date: Wed, 21 Sep 2022 15:34:49 +0530 Subject: [PATCH] Update 14_day_error_handling.md Output was given wrong. --- 14_Day_Error_handling/14_day_error_handling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/14_Day_Error_handling/14_day_error_handling.md b/14_Day_Error_handling/14_day_error_handling.md index bc17c5d..62a514f 100644 --- a/14_Day_Error_handling/14_day_error_handling.md +++ b/14_Day_Error_handling/14_day_error_handling.md @@ -80,7 +80,7 @@ try { ```sh ReferenceError: fistName is not defined at :4:20 -In any case it will be executed +In any case I will be executed ``` The catch block take a parameter. It is common to pass e, err or error as a parameter to the catch block. This parameter is an object and it has name and message keys. Lets use the name and message.