Javascript - Number MIN_VALUE Property

The MIN_VALUE property returns the smallest positive number possible in JavaScript.

Description

The MIN_VALUE property returns the smallest positive number possible in JavaScript.

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

Numbers smaller than this are converted to 0.

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

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

Syntax

Number.MIN_VALUE

Return

A Number, 5e-324

Example

Return the smallest positive number possible in JavaScript:

Demo

console.log(Number.MIN_VALUE);

//Using x.MIN_VALUE, where x is a number or a Number object, will return undefined:
var x = 100;//from   ww  w . j a  va 2s .c om
console.log(x.MIN_VALUE);

Result