Note May 4, 2026 How == differs from === in JavaScript The classic explanation says == checks values and === checks both type and value. The spec says something different - both check the type. This note is about what the actual difference is. # javascript # equality # coercion # fundamentals