This page is about comparison operator in Javascript.
The “invalid number value” NaN is neither greater than nor less than any other value.
var x = 1; var y = "bar"; console.log( x < y ); // false console.log( x > y ); // false
Javascript - Equality