| 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 | | |