index.js 462 B

1234567891011121314151617181920
  1. 'use strict';
  2. var callBind = require('call-bind');
  3. var define = require('define-properties');
  4. var implementation = require('./implementation');
  5. var getPolyfill = require('./polyfill');
  6. var shim = require('./shim');
  7. var polyfill = callBind(getPolyfill(), Number);
  8. /* http://www.ecma-international.org/ecma-262/6.0/#sec-number.isnan */
  9. define(polyfill, {
  10. getPolyfill: getPolyfill,
  11. implementation: implementation,
  12. shim: shim
  13. });
  14. module.exports = polyfill;