+1 vote
in JavaScript by
Does JavaScript allow exception handling?

a) Yes, it provides try, catch as well as throw key word for exception handling

b) Yes, but it provides only try block

c) Yes, but it provides only Try catch block, but does not allow throw exception

d) No

1 Answer

0 votes
by

Answer:-  A

reason:-JavaScript implements the try...catch...finally construct as well as the throw operator to handle exceptions. You can catch programmer-generated and runtime exceptions, but you cannot catch JavaScript syntax errors.

...