getIterator.js 307 B

12345678910111213
  1. 'use strict';
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = function (coll) {
  6. return iteratorSymbol && coll[iteratorSymbol] && coll[iteratorSymbol]();
  7. };
  8. var iteratorSymbol = typeof Symbol === 'function' && Symbol.iterator;
  9. module.exports = exports['default'];