Answers

Question and Answer:

  Home  Expert JavaScript Developer

⟩ Which keywords are used to handle exceptions?

Try… Catch-finally is used to handle exceptions in the JavaScript

JavaScript

Try{

Code

}

Catch(exp){

Code to throw an exception

}

Finally{

Code runs either it finishes successfully or after catch

}

 196 views

More Questions for you: