Files
NapCatQQ/.pnpm-store/v3/files/39/882a8b2b0b94f3f9d51ac0d9ac5a4ce84c4d639ee97f0f039b471ab7472db5a23f0791e5483baa6b1713d246245989957791a0d74564d1180b237251a2b495
T
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

21 lines
414 B
Plaintext

'use strict';
var define = require('define-properties');
var shimUnscopables = require('es-shim-unscopables');
var getPolyfill = require('./polyfill');
module.exports = function shimFlatMap() {
var polyfill = getPolyfill();
define(
Array.prototype,
{ flatMap: polyfill },
{ flatMap: function () { return Array.prototype.flatMap !== polyfill; } }
);
shimUnscopables('flatMap');
return polyfill;
};