Reference Materials
Certification Courses
Created with over a decade of experience and thousands of feedback.
Python online compiler
JavaScript online compiler
SQL online compiler
Java online compiler
HTML online compiler
C online compiler
C++ online compiler
C# online compiler
PHP online compiler
Swift online compiler
Kotlin online compiler
TypeScript online compiler
Go online compiler
Rust online compiler
Scala online compiler
Dart online compiler
R online compiler
Ruby online compiler
JavaScript Number.MAX_VALUE
The Number.MAX_VALUE property represents the maximum numeric value representable in JavaScript.
The MAX_VALUE property has a value of approximately 1.79E+308 or 21024. Values larger than MAX_VALUE are represented as Infinity.
It is a non-writable, non-enumerable, and non-configurable property.
The syntax to access the MAX_VALUE constant is:
Number.MAX_VALUE
MAX_VALUE is accessed using the Number class name.
Example: Using Number.MAX_VALUE
value = Number.MAX_VALUE;
console.log(value); // 1.7976931348623157e+308
Output
1.7976931348623157e+308
Recommended Reading:
Did you find this article helpful?