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년 9월.
Number.isFinite() 메서드는 주어진 값이 유한수인지 판별합니다.
Number.isFinite() 정적 메서드는 전달받은 값이 유한수인지 여부를 판별합니다. 즉, 주어진 값이 숫자이고 이 숫자가 양의 Infinity, 음의 Infinity, NaN이 아님을 확인합니다.
유한수인지 판별할 값.
주어진 값이 유한수라면 불리언 값 true를, 그렇지 않으면 false를 반환합니다.
전역 isFinite() 함수와의 차이는 이 메서드는 첫 번째 매개변수를 숫자로 변환시키지 않는다는 점입니다. 즉, 숫자이면서 유한수인 값에만 true를 반환하며 숫자가 아닌 값은 언제나 false를 반환합니다.
| ECMAScript® 2027 Language Specification # sec-number.isfinite |
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.