When you donotwant any type conversionsto happen, there are two additional operators:===and!==. The first testswhether a value ispreciselyequal to the other, and the second tests whether itis not precisely equal. So"" === falseis false as expected.I recommend using the three-character comparison operators defensively toprevent unexpected type conversions from tripping you up.
So, when you want to make sure two things are as equal as possible, you would use === . Three equal signs. And !== if you want to check if something is absolutely not equal to something else.