➕sloppy equality (==)
equality with type conversion.
JS ⟩ statement ⟩ expression ⟩ operator ⟩ relational ⟩ sloppy (==)
perform equality testing that allows type conversion.
🌟
👉 compare:strict equality (===)
convertibility does not imply equality❗
// ⭐️ `undefined` can be converted to `false`.
undefined == false // false❗ <= and >= do not rely on == or ===❗
replit: sloppy equality (==)
🌟
ℹ️ the following are involved in
==operation.
Last updated
Was this helpful?