

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is the maximum value represented by Number object in JavaScript?
The largest possible value a number in JavaScript can have 1.7976931348623157E+308. The Number.MAX_VALUE property belongs to the static Number object. It represents constants for the largest possible positive numbers that JavaScript can work with.
Example
You can try to run the following code to get the maximum value represented by Number object −
<html> <head> <script> <!-- function showValue() { var val = Number.MAX_VALUE; document.write ("Value of Number.MAX_VALUE : " + val ); } //--> </script> </head> <body> <p>Click the following to see the result:</p> <form> <input type="button" value="Click Me" onclick="showValue();" /> </form> </body> </html>
- Related Questions & Answers
- What is the minimum value represented by Number object in JavaScript?
- Return the maximum value that can be represented by the dtype of an object in Numpy
- Return the minimum value that can be represented by the dtype of an object in Numpy
- What is the maximum value of float in Python?
- Returning the highest number from object properties value – JavaScript
- Adding numbers represented by string without complete conversion in JavaScript
- What is a NaN property of a Number object in JavaScript?
- What is JavaScript object Destructuring?
- What is math object in JavaScript?
- What is date object in JavaScript?
- What is arguments object in JavaScript?
- What is WeakSet Object in JavaScript?
- Python Pandas - Return the maximum value of the Timedelta object
- Sorting an array object by property having falsy value - JavaScript
- What is the maximum possible value of an integer in C# ?
Advertisements