Microsoft Exam Questions

Which code segment should you use?

In the following code segment, three functions return WinJS.Promise objects.

You need to chain the promise operations to optimize error handling.
Which code segment should you use?

A.
Option A

B.
Option B

C.
Option C

D.
Option D