iterator.js 395 B

123456789101112
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. function getSymbolIterator() {
  4. if (typeof Symbol !== 'function' || !Symbol.iterator) {
  5. return '@@iterator';
  6. }
  7. return Symbol.iterator;
  8. }
  9. exports.getSymbolIterator = getSymbolIterator;
  10. exports.iterator = getSymbolIterator();
  11. exports.$$iterator = exports.iterator;
  12. //# sourceMappingURL=iterator.js.map