JavaScript Number NaN
JavaScript Number NaN
NaN is a short form of "Not-a-Number". It is an illegal number i.e, not a legal number. The Number.Nan property is very much similar to the Global NaN property.
Syntax:-
Its syntax is:- Number.NaN