astro-ghostcms/.pnpm-store/v3/files/2c/f89713ef16b2c477a676aeb6433...

19 lines
423 B
Plaintext
Raw Normal View History

2024-02-14 14:10:47 +00:00
'use strict';
var define = require('define-properties');
var getPolyfill = require('./polyfill');
var $IteratorPrototype = require('../Iterator.prototype/implementation');
module.exports = function shimIteratorPrototypeFilter() {
var polyfill = getPolyfill();
define(
$IteratorPrototype,
{ filter: polyfill },
{ filter: function () { return $IteratorPrototype.filter !== polyfill; } }
);
return polyfill;
};