4 ms·
Javascript has two number types. `number` and `bigint`. https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-bigint-objects https://tc39.es/ecma262/mul
by kitten_mittens_ 4y ago
Javascript has two number types. `number` and `bigint`.
https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-bigint-objects https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec...
- zarzavat 4y agoTechnically it’s number. But bigint can be much larger than a 64-bit integer, so from the CPU’s perspective it’s an array rather than a single integer.
- kevingadd 4y agoBigInt isn't super relevant here though, it's new and a distinct type so it doesn't come into play for any typical computations. You can't use it as the size of an array, etc.