Javascript and Creating Web Page Set 8


Which keyboard in switch case statement specifies the code to run if there is no case match?
  
    (A) Break
    (B) Case
    (C) Default
    (D) End

Default

Which statement is used to test a block of code for errors?
  
    (A) Catch
    (B) Finally
    (C) Throe
    (D) Try

Try

Which statement is used to handle the error?
  
    (A) Try
    (B) Catch
    (C) Throw
    (D) Finally

Catch

Which statement is used create custom error in javascript?
  

    (A) Catch
    (B) Finally
    (C) Throw
    (D) Try

Throw

Which statement is used to execute code after try and catch?
  
    (A) Finally
    (B) Syntax error
    (C) Throw
    (D) Type error

Finally