Hacker News new | ask | show | jobs
by Vanit 727 days ago
Null is the sole case in js that should always be == checked. Null or undefined should never be === unless you're explicitly encoding a semantic difference in your types.