When using Promise.allSettled, the returned array consists of objects, each having a status property that can either be 'fulfilled' or ________.

  • 'completed'
  • 'resolved'
  • 'rejected'
  • 'done'
When using Promise.allSettled, the status property of each object in the returned array can either be 'fulfilled' or 'rejected,' depending on the outcome of the individual Promises in the input array.
Add your answer
Loading...

Leave a comment

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