{"json_modified": "2016-02-06T23:54:05.332597", "slug": "Web/JavaScript/Reference/Global_Objects/isNaN", "tags": ["Method", "Functions", "JavaScript"], "locale": "ru", "title": "isNaN", "translations": [{"title": "isNaN()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/isNaN", "tags": ["JavaScript"], "summary": "The isNaN()
function determines whether a value is NaN
or not. Note: coercion inside the isNaN
function has interesting rules; you may alternatively want to use Number.isNaN()
, as defined in ECMAScript 6, or you can use typeof
to determine if the value is Not-A-Number.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-01-04T06:45:07", "review_tags": []}, {"title": "isNaN()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/isNaN", "tags": ["JavaScript"], "summary": "isNaN()
\u95a2\u6570\u306f\u5f15\u6570\u304c NaN
\uff08\u975e\u6570\uff09\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3057\u307e\u3059\u3002isNaN
\u95a2\u6570\u306e\u578b\u5f37\u5236\u306f\u8208\u5473\u6df1\u3044\u30eb\u30fc\u30eb\u3092\u6301\u3064\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u5024\u304c\u975e\u6570\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3059\u308b\u4ee3\u7528\u65b9\u6cd5\u3068\u3057\u3066\u3001ECMAScript 6 \u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b Number.isNaN()
\u3084\u00a0typeof
\u304c\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-11-17T17:55:53", "review_tags": ["technical", "editorial"]}, {"title": "isNaN()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/isNaN", "tags": ["R\u00e9f\u00e9rence", "JavaScript"], "summary": "\u00c0 la diff\u00e9rence des autres valeurs JavaScript, il est impossible d'utiliser les op\u00e9rateurs d'\u00e9galit\u00e9 faible et stricte (==
et ===
) afin de d\u00e9terminer si une valeur est ou n'est pas r\u00e9ellement NaN
. En effet NaN == NaN
et NaN === NaN
renvoient false
tous les deux. C'est pour cela qu'il est n\u00e9cessaire d'avoir la fonction isNaN()
.", "localization_tags": [], "locale": "fr", "last_edit": "2016-01-05T12:10:15", "review_tags": []}, {"title": "isNaN()", "url": "/pl/docs/Web/JavaScript/Referencje/Obiekty/isNaN", "tags": ["JavaScript"], "summary": "Sprawdza, czy argument nie ma warto\u015bci NaN (\"nie-liczba\").", "localization_tags": [], "locale": "pl", "last_edit": "2015-04-25T02:20:29", "review_tags": []}, {"title": "isNaN", "url": "/es/docs/Web/JavaScript/Referencia/Objetos_globales/isNaN", "tags": [], "summary": "Eval\u00faa un argumento para determinar si es un n\u00famero.", "localization_tags": [], "locale": "es", "last_edit": "2014-11-19T12:21:07", "review_tags": []}, {"title": "isNaN()", "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/isNaN", "tags": ["JavaScript"], "summary": "A fun\u00e7\u00e3o insNAN ()
determina se o valor \u00e9 NaN
ou n\u00e3o. Tenha cuidado, essa fun\u00e7\u00e3o \u00e9 quabrada. Voc\u00ea pode ficar interessado no Number.isNaN()
que foi definido no ECMAScript 6 ou voc\u00ea pode usar typeof
para determinar se o valor \u00e9 Not-A-Number, NaN
.", "localization_tags": [], "locale": "pt-BR", "last_edit": "2014-11-19T12:35:12", "review_tags": []}, {"title": "isNaN()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/isNaN", "tags": ["JavaScript"], "summary": "isNaN()
\u51fd\u6570\u7528\u6765\u5224\u65ad\u4e00\u4e2a\u503c\u662f\u5426\u4e3a NaN
\u3002\u6ce8\uff1aisNaN
\u51fd\u6570\u5305\u542b\u4e00\u4e9b\u975e\u5e38\u6709\u610f\u601d\u7684\u5f3a\u5236\u8f6c\u6362\u89c4\u5219\uff1b\u4f60\u4e5f\u53ef\u4ee5\u901a\u8fc7\u00a0ECMAScript 6 \u4e2d\u5b9a\u4e49\u7684\u00a0Number.isNaN()
\u6216\u8005\u00a0typeof
\u6765\u5224\u65ad\u4e00\u4e2a\u503c\u662f\u5426\u4e3a\u975e\u6570\u503c\u3002", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2016-01-20T19:36:57", "review_tags": []}, {"title": "isNaN()", "url": "/de/docs/Web/JavaScript/Reference/Global_Objects/isNaN", "tags": [], "summary": "Die isNaN()
Methode pr\u00fcft, ob ein Wert NaN
ist.
\n Bemerkung: Aufgrund innerer Zw\u00e4nge weist die isNaN
Methode interessante Regeln auf. Alternativ kann die in ECMAScript 6 definierte Methode Number.isNaN()
genutzt werden oder man kann mit typeof
feststellen, ob der Wert nicht vom Typ number ist.", "localization_tags": ["inprogress"], "locale": "de", "last_edit": "2015-03-12T07:58:55", "review_tags": ["technical"]}, {"title": "isNaN()", "url": "/it/docs/Web/JavaScript/Reference/Global_Objects/isNaN", "tags": [], "summary": "La funzione isNaN()
determina se un valore \u00e8 NaN
o no.", "localization_tags": [], "locale": "it", "last_edit": "2015-04-12T10:01:39", "review_tags": ["editorial"]}], "modified": "2016-02-06T23:54:03", "label": "isNaN", "localization_tags": [], "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/isNaN", "last_edit": "2015-12-24T06:05:57", "summary": "\u0424\u0443\u043d\u043a\u0446\u0438\u044f isNaN()
\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438 \u043b\u0438\u0442\u0435\u0440\u0430\u043b \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043d\u0435 \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c (NaN
) \u0438\u043b\u0438 \u043d\u0435\u0442. \u041f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u043e\u044f\u0432\u043b\u044f\u0442\u044c \u043e\u0441\u0442\u043e\u0440\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0442\u0430\u043a \u043a\u0430\u043a \u043e\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c Number.isNaN()
\u0442\u043e \u043a\u0430\u043a \u043e\u043d\u0430 \u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u0432 ECMAScript 6, \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c typeof
\u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043b\u0438\u0442\u0435\u0440\u0430\u043b\u0430 \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u043d\u0430 \u043d\u0435 \u0447\u0438\u0441\u043b\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Summary", "title": "\u0410\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044f"}, {"id": "Syntax", "title": "\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441"}, {"id": "Parameters", "title": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b"}, {"id": "Description", "title": "\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435"}, {"id": "The_necessity_of_an_isNaN_function", "title": "\u0414\u043b\u044f \u0447\u0435\u0433\u043e \u043d\u0443\u0436\u043d\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f "}, {"id": "\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435", "title": "\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435:"}, {"id": "Origin_of_NaN_values", "title": "\u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f "}, {"id": "\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438_\u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f", "title": null}, {"id": "Examples", "title": "\u041f\u0440\u0438\u043c\u0435\u0440"}, {"id": "\u0421\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f", "title": "\u0421\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f"}, {"id": "\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430_\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u043c\u0438", "title": "\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u043c\u0438"}, {"id": "See_also", "title": "\u0421\u043c. \u0442\u0430\u043a\u0436\u0435"}], "id": 38384, "review_tags": []}