Journal for Developers
Browsing Tag

esnext

Understanding Promise.prototype.finally()

#How Does Promise.prototype.finally works .finally() works as follows: promise .then(result => {···}) .catch(error => {···}) .finally(() => {···}); finally’s callback is always executed. Compare: then’s callback is only executed if…

Subscribe to our Journal

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!