Update 14_day_error_handling.md

Output was given wrong.
pull/513/head
Mohd Shuaib Siddiqui 3 years ago committed by GitHub
parent e2587d1e6d
commit aaa7245036
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -80,7 +80,7 @@ try {
```sh
ReferenceError: fistName is not defined
at <anonymous>: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.

Loading…
Cancel
Save