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

12 lines
374 B
Plaintext

'use strict';
var $BigInt = typeof BigInt !== 'undefined' && BigInt;
/** @type {import('.')} */
module.exports = function hasNativeBigInts() {
return typeof $BigInt === 'function'
&& typeof BigInt === 'function'
&& typeof $BigInt(42) === 'bigint' // eslint-disable-line no-magic-numbers
&& typeof BigInt(42) === 'bigint'; // eslint-disable-line no-magic-numbers
};