Y
Hacker News
new
|
ask
|
show
|
jobs
by
THBC
695 days ago
Number is not semantically compatible with raw 64-bit integer, so you might as well wish for a native
const counter = UInt64(42);
The current state of the art is
const counter = BigInt.asUintN(64, 42);