Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

1 Answer
Samual Sam

The Number.MAX_SAFE_INTEGER property of the Number object represents the maximum safe integer in JavaScript (i.e. 253 - 1).

Syntax

Its Syntax is as follows

Number.MAX_SAFE_INTEGER

Example

Live Demo

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

Output

Maximum safe integer: 9007199254740991

Advertisements

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.