NaN(Not a Number) that can be checked by isNaN() method.
|var x=100;||Integer Value|
|var x=105.5;||Floating point number|
|var x=13e4;||Exponent value, output: 130000|
|var n=new Number(16);||Integer value by number object|
|MIN_VALUE||The smallest positive representable number - that is, the positive number closest to zero (without actually being zero).|
|MAX_VALUE||The largest positive representable number|
|POSITIVE_INFINITY||Represents positive infinity, returned on overflow.|
|NEGATIVE_INFINITY||Represents negative infinity, returned on overflow.|
|Nan||Represents "Not a Number" value.|
MIN_VALUE property gives the minimum positive value closest to zero. Numbers smaller than this are converted to zero.
POSITIVE_INFINITY property can be considered as a number which is greater than any other number.
NEGATIVE_INFINITY property can be considered as a number which is lower than any other number.
-Infinity that represent positive and negative infinity
For example, dividing by 0 returns Infinity, as demonstrated below:
Note: If the updated content is not visible to you please refresh the cookies by pressing CTRL + Shift + R.