JavaScript MIN_VALUE Property
Example
Return the smallest number in JavaScript:
Number.MIN_VALUE;
Output result:
5e-324
Try it »
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 are 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 access it is: Number.MIN_VALUE.
Accessing this property via a custom Number object x (x.MIN_VALUE) returns undefined:
Example
var x = 100;
x.MIN_VALUE;
The output result of x:
undefined
Try it »
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 |
JavaScript Number object