Isn't Javascript terrible for dealing with numerics (floats in particular)?
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/Refe...