3 ms·
You can force JS to treat a Number type as an integer. It is uncommon and a bit more verbose. https://en.wikipedia.org/wiki/Asm.js https://en.wikipedia.org/wik
by dgb23 7y ago
You can force JS to treat a Number type as an integer. It is uncommon and a bit more verbose.
https://en.wikipedia.org/wiki/Asm.js https://en.wikipedia.org/wiki/Asm.js
I agree though. Dealing with arithmetic (or with Dates) in JS can be painful.