Files
GNX-mailEnterprise/frontend/node_modules/es-iterator-helpers/Iterator.concat/shim.js
Iliyan Angelov c67067a2a4 Mail
2025-09-14 23:24:25 +03:00

19 lines
420 B
JavaScript

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