source:
frontend/node_modules/es-iterator-helpers/Iterator/polyfill.js
| Last change on this file was 9af201e, checked in by , 12 days ago | |
|---|---|
|
|
| File size: 243 bytes | |
| Rev | Line | |
|---|---|---|
| [9af201e] | 1 | 'use strict'; |
| 2 | ||
| 3 | var globalThis = require('globalthis')(); | |
| 4 | var implementation = require('./implementation'); | |
| 5 | ||
| 6 | module.exports = function getPolyfill() { | |
| 7 | return typeof globalThis.Iterator === 'function' ? globalThis.Iterator : implementation; | |
| 8 | }; |
Note:
See TracBrowser
for help on using the repository browser.
