astro-ghostcms/.pnpm-store/v3/files/15/634be3295ae848fadff17f7037f...

19 lines
423 B
Plaintext

'use strict';
var define = require('define-properties');
var getPolyfill = require('./polyfill');
var $IteratorPrototype = require('../Iterator.prototype/implementation');
module.exports = function shimIteratorPrototypeReduce() {
var polyfill = getPolyfill();
define(
$IteratorPrototype,
{ reduce: polyfill },
{ reduce: function () { return $IteratorPrototype.reduce !== polyfill; } }
);
return polyfill;
};