Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam Javascript-Developer-I Topic 1 Question 66 Discussion

Actual exam question for Salesforce's Salesforce Certified JavaScript Developer I exam
Question #: 66
Topic #: 1
[All Salesforce Certified JavaScript Developer I Questions]

Refer to the code below:

let car1 = new Promise((_ ,reject)=> setTimeout(reject,2000,"Car1 crashed in"));

let car2 = new Promise(resolve => setTimeout(resolve,1500,"Car2 completed"));

let car3 = new Promise(resolve => setTimeout(resolve,3000,"Car3 completed"));



let result = `${value} the race.`;


console.log('Race is cancelled.',err);


What is the value of result when promise.race execues?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!

Save Cancel