iterator.js 244 B

12345678
  1. export function getSymbolIterator() {
  2. if (typeof Symbol !== 'function' || !Symbol.iterator) {
  3. return '@@iterator';
  4. }
  5. return Symbol.iterator;
  6. }
  7. export const iterator = getSymbolIterator();
  8. //# sourceMappingURL=iterator.js.map