2023-12-18 13:12:25 +08:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
var define = require('define-properties');
|
2023-12-28 23:41:32 +08:00
|
|
|
var callBind = require('call-bind');
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
var implementation = require('./implementation');
|
|
|
|
var getPolyfill = require('./polyfill');
|
|
|
|
var shim = require('./shim');
|
|
|
|
|
2023-12-28 23:41:32 +08:00
|
|
|
var polyfill = callBind(getPolyfill(), Object);
|
2023-12-18 13:12:25 +08:00
|
|
|
|
|
|
|
define(polyfill, {
|
|
|
|
getPolyfill: getPolyfill,
|
|
|
|
implementation: implementation,
|
|
|
|
shim: shim
|
|
|
|
});
|
|
|
|
|
|
|
|
module.exports = polyfill;
|