What is the purpose of the try...catch block in JavaScript?
To handle asynchronous code
To handle errors during code execution
To stop the execution of a program
To skip specific lines of code
This question is part of this quiz :
Error Handling and Debugging