JAVASCRIPT AND CREATING WEB PAGE - Practice Mode

1) Which keyboard in switch case statement specifies the code to run if there is no case match?
Correct Answer: Default
2) Which statement is used to test a block of code for errors?
Correct Answer: Try
3) Which statement is used to handle the error?
Correct Answer: Catch
4) Which statement is used create custom error in javascript?
Correct Answer: Throw
5) Which statement is used to execute code after try and catch?
Correct Answer: Finally