What is the purpose of Promise.finally()?
Executes only when a promise is fulfilled
Executes only when a promise is rejected
Cancels unresolved promises
Executes after a promise is settled, regardless of its state
This question is part of this quiz :
Asynchronous JavaScript