THE WORLD'S LARGEST WEB DEVELOPER SITE

JavaScript MIN_VALUE Property

❮ JavaScript Number Reference

Example

Return the smallest positive number possible in JavaScript:

Number.MIN_VALUE;
Try it Yourself »

Definition and Usage

The MIN_VALUE property returns the smallest positive 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: ECMAScript 1

❮ JavaScript Number Reference