5 things you don't know about try-catch-finally in JavaScript

added by JavaScript Kicks
12/17/2019 8:41:15 AM

461 Views

Learn how try-catch-finally will be executed in JavaScript try-catch-finally is used to handle runtime errors and prevent them from halting the execution of a program. If we have a finally block, the return statement inside try and catch block are not executed. It will always hit the finally block.


0 comments