Javascript Tutorial in Hindi - 43 NaN and isNaN Method in JavaScript

Опубликовано: 28 Июль 2026
на канале: infinitech
1,084
21

#isnanJavascript
#checkedPropertyJavascript
#javascriptIsnanMethod
#javascriptFunctionIsnan

#javascriptKeywordNan


In javascript special keyword is available i.e. NaN ( Not-a-Number ) is a special value in javascript which represents that a value is not a perfect number.

To identify whether the value is a legal number or not javascript has a special method i.e isNaN().

the isNaN() method will return true if the given value is string else it will represent false. it takes 1 parameter.