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

21 lines
411 B
Plaintext

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