Files
NapCatQQ/.pnpm-store/v3/files/a0/5e498ebe950d91e435cbe4d2e37099cf51d4d33e7b2319bca9866d49a764488ce1236ecf2f5c68894d1a6437a3a5b8d465ccf894d075495d4587b1bc46d51f
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

16 lines
418 B
Plaintext

'use strict';
var implementation = require('./implementation');
module.exports = function getPolyfill() {
if (typeof Iterator === 'function' && typeof Iterator.prototype.filter === 'function') {
try {
// https://issues.chromium.org/issues/336839115
Iterator.prototype.filter.call({ next: null }, function () {}).next();
} catch (e) {
return Iterator.prototype.filter;
}
}
return implementation;
};