.finally()

Term side of the Card
Topic: Promise
Unit title: .finally()
Categories: Method
Explanation side of the Card

Explanation: The method that attaches a callback function to a promise, which will be executed when the promise is settled, regardless of whether it was fulfilled or rejected. It's typically used for cleanup tasks.

Browser compatibility:
  • The chrome browser supports this feature starting from version 63
  • The edge browser supports this feature starting from version 18
  • The firefox browser supports this feature starting from version 58
  • The safari browser supports this feature starting from version 11.1
Availability: