Advertisement
728x90
Below are the list of statements used in an error handling,
1. try: This statement is used to test a block of code for errors
2. catch: This statement is used to handle the error
3. throw: This statement is used to create custom errors.
4. finally: This statement is used to execute code after try and catch regardless of the result.
Advertisement
Responsive Ad
🎯 Practice NowRelated Challenge
JavaScript Coding Exercise 59
Test your knowledge with this interactive coding challenge.
Start CodingAdvertisement
728x90
230of476