Type coercion [ koʊˈɜːrʒn ] '=='
: converting a certain type to another type.
All languages have type coercion.
In javascript,
== : coercion
=== : compare two values.
Javascript coerces 1 to equal true.
if(1)
x y == ===
x y == === object.is