Tutorials Point

  JavaScript Basics
  JavaScript Objects
  JavaScript Advanced
  JS Useful References
  JS Useful Resources
  Selected Reading

Copyright © 2014 by tutorialspoint

  Home     References     Discussion Forums     About TP  

Javascript Number - MIN_VALUE

previous next AddThis Social Bookmark Button



The Number.MIN_VALUE property belongs to the static Number object. This represents constants for the smallest possible positive numbers that JavaScript can work with.

This constant has actual value 5 x 10-324


You can access this property using the following syntax:

var val = Number.MIN_VALUE;


Here is the example showing the usage of this property.

<script type="text/javascript">
function showValue()
   var val = Number.MIN_VALUE;
   alert("Value of Number.MIN_VALUE : " + val );
<p>Click the following to see the result:</p>
<input type="button" value="Click Me" onclick="showValue();" />

This will produce following result:

Value of Number.MIN_VALUE : 5 x 10-324

To understand it in better way you can Try it yourself.

previous next Printer Friendly