source: trip-planner-front/node_modules/core-js/internals/get-iterator-method.js@ 188ee53

Last change on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 343 bytes
Line 
1var classof = require('../internals/classof');
2var Iterators = require('../internals/iterators');
3var wellKnownSymbol = require('../internals/well-known-symbol');
4
5var ITERATOR = wellKnownSymbol('iterator');
6
7module.exports = function (it) {
8 if (it != undefined) return it[ITERATOR]
9 || it['@@iterator']
10 || Iterators[classof(it)];
11};
Note: See TracBrowser for help on using the repository browser.