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

22 lines
462 B
Plaintext

'use strict';
var define = require('define-properties');
var getPolyfill = require('./polyfill');
module.exports = function shimGetPrototypeOf() {
define(
global,
{ Reflect: {} },
{ Reflect: function () { return typeof Reflect !== 'object' || !Reflect; } }
);
var polyfill = getPolyfill();
define(
Reflect,
{ getPrototypeOf: polyfill },
{ getPrototypeOf: function () { return Reflect.getPrototypeOf !== polyfill; } }
);
return polyfill;
};