ags
This commit is contained in:
parent
eddf7cecb8
commit
aea798d119
16631 changed files with 1480363 additions and 257 deletions
14
home/ags/node_modules/object.fromentries/shim.js
generated
vendored
Normal file
14
home/ags/node_modules/object.fromentries/shim.js
generated
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
'use strict';
|
||||
|
||||
var getPolyfill = require('./polyfill');
|
||||
var define = require('define-properties');
|
||||
|
||||
module.exports = function shimEntries() {
|
||||
var polyfill = getPolyfill();
|
||||
define(Object, { fromEntries: polyfill }, {
|
||||
fromEntries: function testEntries() {
|
||||
return Object.fromEntries !== polyfill;
|
||||
}
|
||||
});
|
||||
return polyfill;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue