| Leo Repp | 58b9f11 | 2021-11-22 11:57:47 +0100 | [diff] [blame^] | 1 | 'use strict'; |
| 2 | |
| 3 | var defineProperties = require('define-properties'); |
| 4 | var callBind = require('call-bind'); |
| 5 | |
| 6 | var implementation = require('./implementation'); |
| 7 | var getPolyfill = require('./polyfill'); |
| 8 | var shim = require('./shim'); |
| 9 | |
| 10 | var polyfill = callBind.apply(getPolyfill()); |
| 11 | // eslint-disable-next-line no-unused-vars |
| 12 | var bound = function assign(target, source1) { |
| 13 | return polyfill(Object, arguments); |
| 14 | }; |
| 15 | |
| 16 | defineProperties(bound, { |
| 17 | getPolyfill: getPolyfill, |
| 18 | implementation: implementation, |
| 19 | shim: shim |
| 20 | }); |
| 21 | |
| 22 | module.exports = bound; |