Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015년 7월.
Number.MAX_VALUE 속성은 JavaScript가 표현할 수 있는 제일 큰 양의 숫자 값을 나타냅니다.
| 쓰기 가능 | 불가능 |
| 열거 가능 | 불가능 |
| 설정 가능 | 불가능 |
MAX_VALUE의 값은 약 1.79E+308, 2^1024입니다. MAX_VALUE보다 큰 값은 Infinity로 표현됩니다.
MAX_VALUE는 Number의 정적 속성이기 때문에, 직접 생성한 Number 객체의 속성이 아니라 Number.MAX_VALUE 형식으로 사용해야 합니다.
다음 코드는 두 개의 수를 곱합니다. 만약 결과가 MAX_VALUE 이하면 func1을 호출하고, 그렇지 않으면 func2를 호출합니다.
| ECMAScript® 2027 Language Specification # sec-number.max_value |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2025년 2월 11일 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.