Equality
Equality determines whether two expressions have equivalent values.
Related concepts: OperatorValue
Closest Wikipedia entry: Equality (mathematics)
Misconceptions about Equality12 documented Misconceptions
Check YourselfAssignCompares — Java
= compares two values
ComparisonWithBooleanLiteral — Java
To test whether an expression is true or false, one must compare it to true or to false
EqualityOperatorComparesObjectsValues — Java
o==p compares the objects referred to by variables o and p
EqualsComparesReferences — Java
o.equals(p) compares the references stored in the variables o and p
EqualityOperatorComparesObjectsValues — JavaScript
The equality operator compares two objects' values
EqualityOperatorComparesOnlyTypes — JavaScript
The equality operator '==' compares only the types of the operands
NullAndUndefinedAreTheSame — JavaScript
The values null and undefined are the same
AssignCompares — Python
= compares two values
ComparisonWithBoolLiteral — Python
To test whether an expression is True or False, one must compare it to True or to False
CompareBooleanToConstant — Scratch
To test whether an expression evaluates to true or false, one must compare it to a constant
EqualityOperatorComparesListIdentities — Scratch
(list a) = (list b) compares the identities of list a and list b
EqualityOperatorComparesOnlyTypes — Scratch
() = () compares only the types of its operands