What is the value of result when Promise.race executes?

catch( arr => (

10 console.log(“Race is cancelled.”, err);

11 ));

What is the value of result when Promise.race executes?
A . Car 3 completed the race.
B . Car 1 crashed in the race.
C . Car 2 completed the race.
D . Race is cancelled.

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments