JavaScript MIN_VALUEProperty
Examples
Returns the smallest number in JavaScript:
Number.MIN_VALUE;
Output result:
5e-324
Try it Yourself »
Definition and Usage
The MIN_VALUE property is the smallest number representable in JavaScript (close to 0, but not negative). Its approximate value is 5 x 10-324。
Note:Numbers smaller than the MIN_VALUE property will be represented as 0.
Note:MIN_VALUE is the number closest to 0 in JavaScript, not a negative value; the negative value property is MAX_NUMBER.
Using Number.MIN_VALUE
MIN_VALUE is a static property of the JavaScript Number object, so the way to call this property is: Number.MIN_VALUE.
Using a custom Number object x to call this property (x.MIN_VALUE) will return undefined:
Browser Support
![]()
![]()
![]()
![]()
![]()
All major browsers support the MIN_VALUE property.
Syntax
Number.MIN_VALUE
Technical Details
| Return value: | A Number, 5e-324 |
|---|---|
| JavaScript version: | 1.1 |
Other Extensions
JavaScript Number Object