mirror of
https://github.com/xlorepdarkhelm/numinar-coding-project.git
synced 2026-09-06 04:48:26 -04:00
9 lines
243 B
JavaScript
9 lines
243 B
JavaScript
'use strict';
|
|
|
|
var globalThis = require('globalthis')();
|
|
var implementation = require('./implementation');
|
|
|
|
module.exports = function getPolyfill() {
|
|
return typeof globalThis.Iterator === 'function' ? globalThis.Iterator : implementation;
|
|
};
|