polyfill.js 251 B

12345678910
  1. 'use strict';
  2. var implementation = require('./implementation');
  3. module.exports = function getPolyfill() {
  4. if (typeof global !== 'object' || !global || global.Math !== Math || global.Array !== Array) {
  5. return implementation;
  6. }
  7. return global;
  8. };