Summer Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmasmnth

Refer to the code:01 function execute() {02 return new Promise((resolve, reject) = > reject());03 }04...

Refer to the code:

01 function execute() {

02 return new Promise((resolve, reject) = > reject());

03 }

04 let promise = execute();

05

06 promise

07 .then(() = > console.log( ' Resolved1 ' ))

08 .then(() = > console.log( ' Resolved2 ' ))

09 .then(() = > console.log( ' Resolved3 ' ))

10 .catch(() = > console.log( ' Rejected ' ))

11 .then(() = > console.log( ' Resolved4 ' ));

What is the result when the Promise in the execute function is rejected?

A.

Resolved1 Resolved2 Resolved3 Rejected Resolved4

B.

Rejected

C.

Resolved1 Resolved2 Resolved3 Resolved4

D.

Rejected Resolved4

Salesforce JavaScript-Developer-I Summary

  • Vendor: Salesforce
  • Product: JavaScript-Developer-I
  • Update on: Jul 6, 2026
  • Questions: 147
Price: $52.5  $149.99
Buy Now JavaScript-Developer-I PDF + Testing Engine Pack

Payments We Accept

Your purchase with ExamsVCE is safe and fast. Your products will be available for immediate download after your payment has been received.
The ExamsVCE website is protected by 256-bit SSL from McAfee, the leader in online security.

examsvce payment method