Promise.prototype.finally

Specification
Proposal repo

Modules

es.promise.finally.

Built-ins signatures

class Promise {
  finally(onFinally: Function): Promise;
}

Entry points

core-js/proposals/promise-finally
core-js(-pure)/es|stable|actual|full/promise/finally

Examples

Promise.resolve(42).finally(() => console.log('You will see it anyway'));

Promise.reject(42).finally(() => console.log('You will see it anyway'));