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

16 lines
399 B
Plaintext

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