The biggest point of confusion is the difference between double equals (==) and triple equals (===). In general, you should always use tripled equals (===) when possible, because it compares both type and value.
You can compare things of like primitive type, or of unlike primitive type - though comparisons of unlike primitive types may not always be what you expect.
Summary of Content:
- List of value comparators
- Difference between double equals (==) and triple equals (===)
- Comparing strings and numbers