+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.

Related questions

0 votes
asked Jul 12, 2023 in Angular by Robin
0 votes
asked Jun 28, 2022 in Django by Robin
...