Number.NaN 속성은 Not-A-Number(숫자가 아님)를 나타냅니다. NaN과 같습니다.


정적 속성이므로 접근하기 위해 Number 객체를 생성할 필요는 없습니다. (Number.NaN 사용)

Property attributes of Number.NaN
Writable no
Enumerable no
Configurable no

명세

스펙 상태 설명
ECMAScript 1st Edition (ECMA-262) Standard 초기 정의. JavaScript 1.1에서 구현됨.
ECMAScript 5.1 (ECMA-262)
The definition of 'Number.NaN' in that specification.
Standard  
ECMAScript 2015 (6th Edition, ECMA-262)
The definition of 'Number.NaN' in that specification.
Standard  
ECMAScript Latest Draft (ECMA-262)
The definition of 'Number.NaN' in that specification.
Draft  

브라우저 호환성

Update compatibility data on GitHub
DesktopMobileServer
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung InternetNode.js
Basic supportChrome Full support YesEdge Full support YesFirefox Full support 1IE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesEdge Mobile Full support YesFirefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yesnodejs Full support Yes

Legend

Full support  
Full support
 

같이 보기

  • 전역 NaN 객체.
  • 본 속성이 속한 Number 객체.

문서 태그 및 공헌자

이 페이지의 공헌자: urty5656, Netaras
최종 변경자: urty5656,