5.5k views
2 votes
In JavaScript, NaN represents

a value that isn’t a number

the largest positive value that can be represented

the smallest positive value that can be represented

infinity

1 Answer

4 votes

Answer:

a value that isn't a number

Step-by-step explanation:

NaN means Not a Number in javascript. It means that it is not a legal number.There are functions in javascript to check that the number is NaN or not for example we have to check that var x is NaN or not we can use the function isNaN(x) it returns true if x is NaN or false if it is not.

User Asm
by
6.1k points