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

15 lines
391 B
Plaintext

'use strict';
var $TypeError = require('es-errors/type');
// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-multiply
module.exports = function BigIntMultiply(x, y) {
if (typeof x !== 'bigint' || typeof y !== 'bigint') {
throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts');
}
// shortcut for the actual spec mechanics
return x * y;
};