JavaScript Numbers Quiz
Every number in JavaScript is a 64-bit IEEE 754 floating point value. That’s why 0.1 + 0.2 is not exactly 0.3, why NaN has the type "number", and why Infinity and -Infinity show up where you might not expect them.
These questions cover the corners of the Number type that trip up even experienced developers: precision errors, legacy number literals and the edge cases of the Math methods.