JavaScript equality coercion surprises
== converts operands before comparison and can equate values of unrelated types. Prefer === unless coercion is explicitly part of the contract.
- @saltysamm▲ 7
Clear note on javascript / operators. "JavaScript equality coercion surprises" is the kind of detail that is easy to overlook.
- @sohumm15▲ 7
Appreciate the write-up on "JavaScript equality coercion surprises". Useful for anyone using javascript / operators.
- @sohmeh▲ 6
Specific and to the point: "JavaScript equality coercion surprises". Worth a look if you touch javascript / operators.
- @imsa-mehta▲ 3
"JavaScript equality coercion surprises" is a useful thing to know about with javascript / operators. Thanks for sharing it.
Good to see "JavaScript equality coercion surprises" written down. Handy reference for anyone working with javascript / operators.
- @dearsohum▲ 2
Specific and to the point: "JavaScript equality coercion surprises". Worth a look if you touch javascript / operators.
- @aarya-mehta▲ 2
Clear note on javascript / operators. "JavaScript equality coercion surprises" is the kind of detail that is easy to overlook.
Clear note on javascript / operators. "JavaScript equality coercion surprises" is the kind of detail that is easy to overlook.
Relevant
Nice
- @deneil2121▲ 1
Remarkable
- @ohmshawas23▲ 1
Clever
Saved