JavaScript Number MIN_VALUE property
- Forrige side MAX_VALUE
- Næste side NaN
- Gå tilbage til niveauet over JavaScript Number Referencemanual
Definition and usage
Number.MIN_VALUE
Returns the smallest possible number in JavaScript.
MIN_VALUE
The property is the smallest number that can be represented in JavaScript (close to 0, but not negative). Its value is approximately 5 x 10-324(5E-324).
Note:
MIN_VALUE
It is the closest value to 0.
Numbers less than this will be converted to 0.
The largest negative number is the negative MAX_NUMBER.
Number.MIN_VALUE
MIN_VALUE is a property of the JavaScript Number object.
You can only use it as Number.MIN_VALUE.
If you use x.MIN_VALUE, where x is a variable, it will return undefined:
Example
let x = 100; x.MIN_VALUE;
Syntax
Number.MIN_VALUE
Return value
Type | Description |
---|---|
Number | 5e-324 |
Browser supports
Number.MIN_VALUE
Er en ECMAScript1 (ES1) egenskab.
Alle browsere understøtter fuldt ES1 (JavaScript 1997):
Chrome | IE | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
Chrome | IE | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support | Support |
- Forrige side MAX_VALUE
- Næste side NaN
- Gå tilbage til niveauet over JavaScript Number Referencemanual