Latest web development tutorials
 

JavaScript MIN_VALUE Property

< JavaScript Number Reference

Example

Return the smallest number possible in JavaScript:

Number.MIN_VALUE;

The result will be:

5e-324
Try it Yourself »

Definition and Usage

The MIN_VALUE property returns the smallest number possible in JavaScript.

This static property has a value of 5e-324.

Note: Numbers smaller than this are converted to 0.

Note: MIN_VALUE is the value closest to 0. The most negative number is the negative MAX_NUMBER.


Always Use Number.MIN_VALUE

MIN_VALUE is a static property of the JavaScript Number object. You can only use it as Number.MIN_VALUE.

Using x.MIN_VALUE, where x is a number or a Number object, will return undefined:

Example

var x = 100;
x.MIN_VALUE;

The value of x will be:

undefined
Try it Yourself »

Browser Support

Property
MIN_VALUE Yes Yes Yes Yes Yes

Syntax

Number.MIN_VALUE

Technical Details

Return Value: A Number, 5e-324
JavaScript Version: 1.1

< JavaScript Number Reference