astro-ghostcms/.pnpm-store/v3/files/1f/580241361cd07c264819ef6eebd...

21 lines
474 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');
var $Iterator = require('./implementation');
module.exports = function shimIteratorPrototypeCtor() {
var polyfill = getPolyfill();
define(
$IteratorPrototype,
{ constructor: $Iterator },
{ constructor: function () { return $Iterator.constructor !== polyfill; } }
);
return polyfill;
};