It has a number of methods and properties that can be used to perform various tasks on numbers. The table below shows some static Number object properties that can be used as constants throughout a program.
|EPSILON||The difference between 1 and the smallest JS number.|
|MAX_SAFE_INTEGER||The maximum safe integer (253 - 1)|
|MIN_SAFE_INTEGER||The minimum safe integer (253 - 1)|
|POSITIVE_INFINITY||Infinity (returned on overflow)|
|NEGATIVE_INFINITY||Negative infinity (returned on overflow)|
|NaN||A "Not-a-Number" value|
The difference between 1 and the smallest JS number.
It provides the lowest positive integer that is closest to zero, but not the largest negative number.
It depicts the inverse of infinity.
It denotes a positive infinity value.
It is used to represent values that are not legal numbers.