mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-24 04:51:24 +01:00
14 lines
319 B
JavaScript
14 lines
319 B
JavaScript
'use strict';
|
|
|
|
var getPolyfill = require('./polyfill');
|
|
var define = require('define-properties');
|
|
|
|
module.exports = function shimEntries() {
|
|
var polyfill = getPolyfill();
|
|
define(Object, { entries: polyfill }, {
|
|
entries: function testEntries() {
|
|
return Object.entries !== polyfill;
|
|
}
|
|
});
|
|
return polyfill;
|
|
};
|