Home »
JavaScript
Number MIN_VALUE Property with Example in JavaScript
JavaScript Number MIN_VALUE Property: Here, we are going to learn about the MIN_VALUE property of Number in JavaScript with Example.
Submitted by IncludeHelp, on February 08, 2019
Number MIN_VALUE Property
MIN_VALUE Property is a Number property in JavaScript and it is used to get the minimum value of a number that is possible in JavaScript.
Syntax
Number.MIN_VALUE;
Note: MIN_VALUE property is called with the "Number", we cannot use this property with a variable. If we use MIN_VALUE with a variable – it returns "undefined".
Example
Input:
Number.MIN_VALUE
Output:
5e-324
Example - Use of Number MIN_VALUE Property
<html>
<head>
<title>JavaScipt Example</title>
</head>
<body>
<script>
document.write("Min. Value: " + Number.MIN_VALUE + "<br>");
//testing with variable
var num = 123;
document.write("num.MIN_VALUE: " + num.MIN_VALUE + "<br>");
</script>
</body>
</html>
Output
Min. Value: 5e-324
num.MIN_VALUE: undefined
JavaScript Number Object Methods »