mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-08 18:28:17 +08: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;
|
|
};
|