1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-02-24 11:33:09 +01:00

Update try, catch, finally in JavaScript roadmap (#1658)

This commit is contained in:
Jozias Martini 2022-09-01 17:58:40 -03:00 committed by GitHub
parent 8395837339
commit 38f637c876
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1 +1,6 @@
# Try catch finally
# Try, Catch, Finally
These are ways of handling errors in your JavaScript code. Inside the try code block we have the code to run, inside the catch block we handle the errors, and inside the finally block we have code that runs after the execution of the previous code blocks, regardless of the result.
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.w3schools.com/js/js_errors.asp'>JavaScript Errors</BadgeLink>