Number type in JS is fp64 since forever (at least the interface, usually it's optimized to int32 by an engine, but if you use decimals you can be sure you have fp64 under the hood) and BigInt[0] is supported in almost all modern browsers.
[0] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...