paulmillr / es6-shim

ECMAScript 6 compatibility shims for legacy JS engines
http://paulmillr.com
MIT License
3.11k stars 387 forks source link

Support for Promise.prototype.finally #450

Closed nmoinvaz closed 5 years ago

nmoinvaz commented 5 years ago

It appears that Promise.prototype.finally has been accepted. https://github.com/tc39/proposals/blob/master/finished-proposals.md It would be great to have this included in this ES6 shim.

ljharb commented 5 years ago

Promise.prototype.finally is part of ES2018 - this shim is exclusively and only for ES2015.

The official shim for finally is https://npmjs.com/promise.prototype.finally, which is also included in https://npmjs.com/airbnb-browser-shims.

nmoinvaz commented 5 years ago

Thanks!