Number.MIN_SAFE_INTEGER Property in JavaScript

HTMLJavascriptProgramming Scripts

The Number.MIN_SAFE_INTEGER property of the Number object represents the minimum safe integer in JavaScript (i.e. –(253 – 1)).

Syntax

Its Syntax is as follows

Number.MIN_SAFE_INTEGER

Example

 Live Demo

<html>
<head>
   <title>JavaScript Example</title>
</head>
<body>
   <script type="text/javascript">
      var result = Number.MIN_SAFE_INTEGER;
      document.write("Minimum safe integer: " + result);
   </script>
</body>
</html>

Output

Minimum safe integer: -9007199254740991
raja
Published on 29-Oct-2018 11:43:06
Advertisements