Examveda
Examveda

What will be the step of the interpreter in a jump statement when an exception is thrown?

A. The interpreter stops its work

B. The interpreter throws another exception

C. The interpreter jumps to the nearest enclosing exception handler

D. None of the mentioned

Answer: Option C

Solution(By Examveda Team)

When an exception is thrown in a jump statement, the interpreter jumps to the nearest enclosing exception handler, which may be in the same function or up the call stack in an invoking function.

This Question Belongs to Javascript >> Basic And Variables

Join The Discussion

Related Questions on Basic and Variables