A lot of people including me had a misconception that in JavaScript “==” doesn’t check type and “===” does, but sometimes we have to unlearn some things.
So before understanding these two equalities we have to understand Coercion.
What is Coercion
Co...