Number.MIN_VALUE greater than
0? I expected it to be a very small negative value.
console.log(Number.MIN_VALUE > 0);
The value of
Number.MIN_VALUE is equal to
5e-324. This can be shown below.
As you can see, the value is
This is the smallest positive number that can be shown within float precision (float precision is relating to the
0.1 + 0.2 bug).
This is as close as you can get to
The technical smallest value is
However, this isn’t really "numerical", as the value is
-Infinity, which can’t be represented with a clear number.