Top "Transitivity" questions

JavaScript equality transitivity is weird

I've been reading Douglas Crockford's JavaScript: The Good Parts, and I came across this weird example that doesn't make sense …

javascript comparison-operators equivalence transitivity