The Abstract Equality Algorithm: What == Actually Does in JavaScript
Not a list of quirks to memorize, a walk through the specification steps that produce them. Most explanations of JavaScript’s == operator work backwards. They start from the famous...