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

14 lines
301 B
Plaintext

'use strict';
var implementation = require('./implementation');
module.exports = function getPolyfill() {
if (
Array.prototype.includes
&& Array(1).includes(undefined) // https://bugzilla.mozilla.org/show_bug.cgi?id=1767541
) {
return Array.prototype.includes;
}
return implementation;
};