1.

What if promise2 get rejected in the following syntax?

Answer»

What if promise2 get rejected in the following syntax?
Promise.all(promise1, promise2, .....)
(1)It will accept Promise 1 and reject the REMAINING.
(2)It will reject the entire set
(3)It will Accept the entire set
(4)It will OMIT Promise2 and Accept the remaining

Answer:-(2)It will reject the entire set



Discussion

No Comment Found