JavaScript Number MIN_VALUE property
- Ɗaya na farko MAX_VALUE
- Ɗaya na biyu NaN
- Sai ga ƙasa Manhufan Tattalinawarawa JavaScript Number
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 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 x.MIN_VALUE is used, where x is a variable, it will return undefined:
example
let x = 100; x.MIN_VALUE;
syntax
Number.MIN_VALUE
return value
type | description |
---|---|
numeric | 5e-324 |
browser supports
Number.MIN_VALUE
是 ECMAScript1 (ES1) 特性。
所有浏览器都完全支持 ES1 (JavaScript 1997):
Chrome | IE | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
Chrome | IE | Edge | Firefox | Safari | Opera |
Rarrabawar | Rarrabawar | Rarrabawar | Rarrabawar | Rarrabawar | Rarrabawar |
- Ɗaya na farko MAX_VALUE
- Ɗaya na biyu NaN
- Sai ga ƙasa Manhufan Tattalinawarawa JavaScript Number