=== compares both type AND contents.
== tries to help with type coercion.
For this reason, it’s best practice to always use triple-equals to avoid unexpected results.
instanceof checks the type of object. It moves up the entire inheritance chain.