In the following code:
var notNum = 'dfsd'
Number(notNum) === NaN
The last expression evaluates to false. Do you know why? Is there no way to use NaN in a comparison?
typeof(Number(notNum)) === 'number'
This somehow evaluates to true. I really don't understand how NaN works..