#6) What is NaN property in JavaScript❓

myk

Mayank Yadav

Posted on July 26, 2021

#6) What is NaN property in JavaScript❓

🚀NaN : Not a Number

✔So basically it means that the value should not be a legal number.

image
💠Some Examples for better understanding👇

✔For checking if a value is NaN, we use isNaN() function.
image

⚠##Note:

NaN first converts it into a number type and then compares or equates to NaN.


💖 💪 🙅 🚩
myk
Mayank Yadav

Posted on July 26, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related