English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
MIN_VALUEThe property represents the smallest positive number in JavaScript.
The MIN_VALUE property is the closest number to 0 that JavaScript can represent, not the most negative number.
The value of MIN_VALUE is approximately5e-324. Values less than MIN_VALUE (‘underflow values’ or ‘underflow’ values) are converted to 0.
Since MIN_VALUE is a static property of Number, you should always use it asNumber.MIN_VALUE, rather than used as the property of the Number object created.
Number.MIN_VALUE
Number.MIN_VALUE;Test See‹/›
The MIN_VALUE property is fully supported by all browsers:
Property | |||||
MIN_VALUE | Yes | Yes | Yes | Yes | Yes |
Writable: | None |
---|---|
Enumerable: | None |
Configurable: | None |
Return Value: | Number 5e-324 |
JavaScript Version: | ECMAScript 1 |
Calling MIN_VALUE on the object you create (not the Number itself) will result in an undefined value:
var num = 20; num.MIN_VALUE;// undefinedTest See‹/›