Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. What will be the reaction when a catch clause has no conditionals ?

  2. A.

     Takes it to be 0

    B.

     Takes it to be 1

    C.

     Takes it to be true

    D.

     Takes it to be false

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    If a catch clause has no conditional, it behaves as if it has the conditional if true, and it is always triggered if no clause before it was triggered.


Be The First To Comment