JavaScript Loose Equals

JavaScript == Comparison Tool

💡 How it works

JavaScript's loose equality (==) performs type coercion, leading to surprising results. Enter any JavaScript expression to see what other values are loosely equal to it.

Ctrl+Enter to run
undefined

The following are also true: