let cost = 100_00; // $100.00 in cents
let max = 9_007_199_254_740_991; // a number in the quadrillions
FAQ
What about hex?
0x1001_1001
Hex doesn't preserve leading zeros 0x0000 === 0x00 === 0x0 and BigInt is its own special syntax 0x0123456789ABCDEF0123456789ABCDEFn, so the same rules apply for non-BigInt Hex and Octal as for decimal.
What about binary?
Hmm... have to think on that one. Possible the same rules for the same reason above.
Bad Examples
Good Examples
FAQ
What about hex?
Hex doesn't preserve leading zeros
0x0000 === 0x00 === 0x0
andBigInt
is its own special syntax0x0123456789ABCDEF0123456789ABCDEFn
, so the same rules apply for non-BigInt Hex and Octal as for decimal.What about binary?
Hmm... have to think on that one. Possible the same rules for the same reason above.
8-bit bytes though...