8 lines
244 B
JavaScript
8 lines
244 B
JavaScript
|
export function getSymbolIterator() {
|
||
|
if (typeof Symbol !== 'function' || !Symbol.iterator) {
|
||
|
return '@@iterator';
|
||
|
}
|
||
|
return Symbol.iterator;
|
||
|
}
|
||
|
export const iterator = getSymbolIterator();
|
||
|
//# sourceMappingURL=iterator.js.map
|