Which code segment should you use?

You are developing an application that uses a third-party JavaScript library named doWork().
The library occasionally throws an "object is null or undefined" error with an error code of -2146823281.
The application must:
• Extract and handle the exceptions thrown by doWork()
• Continue normal program execution if other exceptions occur You need to implement the requirements.
Which code segment should you use?

A. Option A
B. Option B
C. Option C
D. Option D

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.