14 / 17

How does `Promise.finally()` work?

The .finally() method is used to attach a callback that will be executed regardless of whether the Promise is fulfilled or rejected.

javascript