0 votes
in JavaScript by (19.8k points)
Which of the following is the correct response by the interpreter in a jump statement when an exception is thrown?

a) The interpreter will jump to the one of the nearest enclosing exception handler

b) The interpreter will throw another exception

c) The interpreter will stop working

d) The interpreter throws an error

1 Answer

0 votes
by (23.1k points)

Answer: A

Reason: In the jumping statement, when an exception is thrown, the interpreter jumps to the closest enclosing exception handler, which may possibly exist in the same function.

Related questions