MIN_VALUE  Number  class property JS Home  <<  JS Reference  <<  Number  <<  MIN_VALUE

Description

The smallest positive number value above zero that can be represented in JavaScript.

  • Like all class properties MIN_VALUE should be used on the class rather than an instance of the class.

Syntax

Signature Description
Number.MIN_VALUEThe smallest positive number value above zero that can be represented in JavaScript.

Parameters

None.

Examples

The code below displays some MIN_VALUE usages.



var minvalue = new Array(2);

minvalue[0] = Number.MIN_VALUE;
minvalue[1] = Number.MIN_VALUE * -1;

alert(minvalue);

Press the button below to action the above code:

Related Tutorials

JavaScript Advanced Tutorials - Lesson 3 - Number

JavaScript Basics

JavaScript Basics

JavaScript Intermediate

JavaScript Intermediate

JavaScript Advanced

JavaScript Advanced

JavaScript Reference

JavaScript Entities

Globals

Number

MIN_VALUE
NaN
NEGATIVE_INFINITY
POSITIVE_INFINITY
prototype
Instance Properties
constructor
Class Methods
None.
Instance Methods Getters
toExponential()
toFixed()
toLocaleString()
toPrecision()
toString()
valueOf()
Instance Methods Setters
None.

Statements

Operators