How to use the promise-polyfill.apply function in promise-polyfill

To help you get started, we’ve selected a few promise-polyfill examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github taylorhakes / promise-mock / src / index.js View on Github external
function PromiseMock() {
  Promise.apply(this, arguments);
}
PromiseMock.prototype = Object.create(Promise.prototype);