== can convert operands before comparing. === does not coerce and compares objects by identity. Object.is treats NaN as equal to itself and distinguishes +0 from -0. === does the opposite for those two cases. Use strict equality by default unless you deliberately need other semantics.
Follow-up Interview Question · Why does NaN work as a key in a Map?