Files
lcbp3.np-dms.work/frontend/node_modules/es-iterator-helpers/Iterator.from/shim.js
2025-09-21 20:29:15 +07:00

19 lines
412 B
JavaScript
Executable File

'use strict';
var getPolyfill = require('./polyfill');
var define = require('define-properties');
var getIteratorPolyfill = require('../Iterator/polyfill');
module.exports = function shimIteratorFrom() {
var $Iterator = getIteratorPolyfill();
var polyfill = getPolyfill();
define(
$Iterator,
{ from: polyfill },
{ from: function () { return $Iterator.from !== polyfill; } }
);
return polyfill;
};