빌트인 전역 함수 isFinite, isNaN과 Number.isFinite, Number.isNaN 메서드의 차이 #131
Unanswered
innerstella
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
빌트인 전역 함수 메서드 : 전달받은 인수를 숫자로 암묵적 타입 변환하여 검사를 수행함
Number 메서드 : 전달받은 인수를 숫자로 암묵적 타입 변환하지 않기 때문에, 숫자가 아닌 인수가 주어졌을 때 반환 값은 언제나 false다.
Beta Was this translation helpful? Give feedback.
All reactions