When you want to convert a number to an integer in JavaScript, many people might think of parseInt() first. However, there is a major trap lurking here. Surprisingly, if you pass a 'too small decimal' ...
Integer: Arbitrary precision integers in JavaScript Daniel Ehrenberg, Igalia. Stage 1 (?) Thanks for help and feedback on this effort from Brendan Eich, Waldemar Horwat, Jaro Sevcik, Benedikt Meurer, ...