When using Promise.all(), if any promise is rejected, the entire operation is considered _________.

  • resolved
  • pending
  • rejected
  • fulfilled
If any promise in the iterable passed to Promise.all() is rejected, the entire operation is considered rejected. All other promises are ignored, and the Promise.all() itself is rejected with the reason of the first rejected promise.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *