ES Proposal spec-compliant shim for Promise.prototype.finally. Invoke its "shim" method to shim
Promise.prototype.finally if it is unavailable or noncompliant. Note: a global
Promise must already exist: the es6-shim is recommended.
Most common usage:
var assert = ;var promiseFinally = ;var resolved = Promise;var rejected = Promise;;;;promiseFinally; // will be a no-op if not neededresolved;rejected;rejected;
Simply clone the repo,
npm install, and run