JavaScript Associate — Medium
Key points
- `==` coerces values before comparison
- `===` checks both value and type
- `1` and `'1'` have different types
- Type coercion can lead to unexpected results
Ready to go further?
Related questions
JavaScript Associate — Medium
Key points
Ready to go further?
Related questions