// ⭐️ `NaN` is the ONLY ONE that doesn't equal to itself❗️
// -------------------------------------------------------
//
// `x !=== x` is equivalent to `Number.isNaN(x)`
//
NaN === NaN, // false❗️
NaN !== NaN, // true❗️
Number.isNaN(NaN), // true (⭐️ the ONLY value that makes this true❗️)
// ⭐️ isNaN() tries to convert to a number first❗️
Number('foo'), // NaN
isNaN('foo'), // true❗️ ('foo' -> NaN)
Number('123abc'), // NaN
isNaN('123abc'), // true❗️ ('123abc' -> NaN)
// ⭐️ Number.isNaN() NEVER converts anything❗️
// --------------------------------------------
// for `Number.isNaN(x)` to be true, `x` must be a number first❗️
Number.isNaN('foo'), // false❗️ (⭐️ `false` for non-numeric values❗️)
Number.isNaN(2 / 'foo'), // true