You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 14_Day_Error_handling/14_day_error_handling.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ try {
80
80
```sh
81
81
ReferenceError: fistName is not defined
82
82
at <anonymous>:4:20
83
-
In any caseI will be executed
83
+
In any caseit will be executed
84
84
```
85
85
86
86
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.
0 commit comments