Hint
null coerces to 0 for relational ops (>, <, >=, <=) but NOT for ==. This creates the famous null>=0 && !(null==0) quirk.
console.log(null > 0);
console.log(null == 0);
console.log(null >= 0);false false true
Explanation: null>0: null→0, 0>0=false. null==0: false (null only equals undefined). null>=0: null→0, 0>=0=true. Famous inconsistency!
Key Insight: null coerces to 0 for relational ops (>, <, >=, <=) but NOT for ==. This creates the famous null>=0 && !(null==0) quirk.