astro-ghostcms/.pnpm-store/v3/files/17/fb514262ec332d07dbd2eb95044...

15 lines
334 B
Plaintext

'use strict';
var define = require('define-properties');
var getPolyfill = require('./polyfill');
module.exports = function shimArrayPrototypeMap() {
var polyfill = getPolyfill();
define(
Array.prototype,
{ filter: polyfill },
{ filter: function () { return Array.prototype.filter !== polyfill; } }
);
return polyfill;
};