src/method.js
function unpatchPromise() {
  for (let method of methods) {
    if (Promise.prototype[method.name] === method) {
      delete Promise.prototype[method.name];
    }
  }
}
function unpatchPromise() {
  for (let method of methods) {
    if (Promise.prototype[method.name] === method) {
      delete Promise.prototype[method.name];
    }
  }
}
function unpatchPromise ( ) { for ( let method of methods ) { if ( Promise . prototype [ method . name ] === method ) { delete Promise . prototype [ method . name ] ; } } }
Undoes `patchPromise`.

A no-op if `patchPromise` had not been called.
Undoes patchPromise .