Parameters or Arguments
There are no parameters or arguments for the NaN property.
The NaN property returns the fee that represents Not-A-Number which is NaN.
The NaN property is a property of the Number object and no longer a range function. However, we have included the NaN property within our JS Number Methods part because you will most likely use this property in conjunction with the Number methods observed in this section.
In this example, we have invoked the NaN property using the Number class.
We have written the output of the NaN property to the net browser console log, for demonstration purposes, to show what the NaN property returns.
The following will be output to the web browser console log: