Easy Tutorial
❮ Prop Area Nohref Met Win Cleartimeout ❯

JavaScript MIN_VALUE Property

JavaScript Number Object

Example

Returns the smallest number in JavaScript:

Output result:


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 closest number to 0 in JavaScript, not a negative value. The negative property is MAX_NUMBER.


Using Number.MIN_VALUE

MIN_VALUE is a static property of the JavaScript Number object, so it is called as: Number.MIN_VALUE.

Calling this property with a custom Number object x (x.MIN_VALUE) will return undefined:

Example

x output result:


Browser Support

All major browsers support the MIN_VALUE property.


Syntax

Technical Details

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

JavaScript Number Object

❮ Prop Area Nohref Met Win Cleartimeout ❯