This page shows the result of loose and strict equality operators applied to special JavaScript values.
Loose equality performs a type cast, so false == 0
, and null == undefined
.
Strict equality skips the type cast. Note that NaN
is strictly different from itself.