diff options
Diffstat (limited to 'node_modules/babel-runtime/node_modules/core-js/modules/_iter-create.js')
-rw-r--r-- | node_modules/babel-runtime/node_modules/core-js/modules/_iter-create.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/node_modules/babel-runtime/node_modules/core-js/modules/_iter-create.js b/node_modules/babel-runtime/node_modules/core-js/modules/_iter-create.js deleted file mode 100644 index 04708c83c..000000000 --- a/node_modules/babel-runtime/node_modules/core-js/modules/_iter-create.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; -var create = require('./_object-create'); -var descriptor = require('./_property-desc'); -var setToStringTag = require('./_set-to-string-tag'); -var IteratorPrototype = {}; - -// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() -require('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; }); - -module.exports = function (Constructor, NAME, next) { - Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); - setToStringTag(Constructor, NAME + ' Iterator'); -}; |