O'Reilly logo
  • Nivan Morgan thinks this is interesting:

== operator never attempts to convert its operands to booleans.

From

Cover of JavaScript: The Definitive Guide, 6th Edition

Note

i.e. the opposite is not true,