The syntax to access the NaN property is:
Number.NaN
NaN is accessed using the Number class name.
Example: Using Number.NaN
Output
5 5.45 Infinity NaN NaN NaN
Recommended Reading:
The syntax to access the NaN property is:
Number.NaN
NaN is accessed using the Number class name.
Output
5 5.45 Infinity NaN NaN NaN
Recommended Reading: