Number.NaN
A propriedade Number.NaN
representa Not-A-Number (Não-Número). Equivalente a NaN
.
Você não precisa criar um objeto Number
para acessar esta propriedade estática (use Number.NaN
).
Property attributes of Number.NaN |
|
---|---|
Writable | no |
Enumerable | no |
Configurable | no |
Especificações
Especificação | Status | Detalhes |
---|---|---|
ECMAScript 1st Edition (ECMA-262) | Padrão | Definição Inicial. Implementado no JavaScript 1.1. |
ECMAScript 5.1 (ECMA-262) The definition of 'Number.NaN' in that specification. |
Padrão | |
ECMAScript 2015 (6th Edition, ECMA-262) The definition of 'Number.NaN' in that specification. |
Padrão | |
ECMAScript (ECMA-262) The definition of 'Number.NaN' in that specification. |
Padrão em tempo real |
Compatibilidade com navegadores
BCD tables only load in the browser