3 ms·
Many such examples can be spotted in the table: [] == 0 == [[]] [1] == true == [1] ... There are even two examples with self-equality (x == x && y == y && z
by stromgo 12y ago
Many such examples can be spotted in the table:
[] == 0 == [[]]
[1] == true == [1]
...
There are even two examples with self-equality (x == x && y == y && z == z):
"0" == false == ""
"0" == 0 == ""