ohctechv3/.svn/pristine/fd/fdc4e9d18a0977361093becf45e31de8a876e614.svn-base

19 lines
411 B
Plaintext
Raw Normal View History

2024-10-28 15:03:36 +05:30
'use strict';
var define = require('define-properties');
var getPolyfill = require('./polyfill');
var $IteratorPrototype = require('../Iterator.prototype/implementation');
module.exports = function shimIteratorPrototypeMap() {
var polyfill = getPolyfill();
define(
$IteratorPrototype,
{ map: polyfill },
{ map: function () { return $IteratorPrototype.map !== polyfill; } }
);
return polyfill;
};