Skip to content

Comment on Why I went without hot water for a yearparent

Comments

It's strict not equal in JavaScript. 'Returns true if the operands are not equal and/or not of the same type.'

.

'==' and '!=' are coercive in JavaScript -- as in:

    5 == "5" -> true

    5 != "5" -> false

    5 === "5" -> false

    5 !== "5" -> true
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.