4 ms·
> It almost makes me feel sick to think that Javascript stores all numbers as doubles. That's not actually true. JS engines are highly optimized. For example
by thedufer 13y ago
> It almost makes me feel sick to think that Javascript stores all numbers as doubles.
That's not actually true. JS engines are highly optimized. For example, anything that fits in a 32-bit int (and is an integer, of course) is stored as such, at least in V8.