You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

polyfill.js 236B

1234567891011
  1. 'use strict';
  2. var util = require('util');
  3. var implementation = require('./implementation');
  4. module.exports = function getPolyfill() {
  5. if (typeof util.promisify === 'function') {
  6. return util.promisify;
  7. }
  8. return implementation;
  9. };