Equals = vs == vs ===: Why They Mean Different Things in Code
One, two, or three equals signs can mean very different things in source code. JavaScript makes the contrast especially visible with assignment, loose equality, and strict equality.
Read more →