Number.NaN
속성(property)은 Not-A-Number(숫자가 아님)을 나타냅니다. NaN
과 같음.
이 정적(static) 속성에 접근하기 위해 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 2017 Draft (ECMA-262) The definition of 'Number.NaN' in that specification. |
Draft |
브라우저 호환성
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |
Feature | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |