4 ms·
BigInt(5) or 5n would give you an integer. You can only operate with other integers. 2n ** 256n === 115792089237316195423570985008687907853269984665640564
by ralusek 5y ago
BigInt(5) or 5n
would give you an integer. You can only operate with other integers.
2n ** 256n === 115792089237316195423570985008687907853269984665640564039457584007913129639936n
Can also work with integers with the likes of:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...