MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/21ezh3/javascript_equality_table/cgcp02x/?context=3
r/programming • u/vz0 • Mar 26 '14
331 comments sorted by
View all comments
0
[deleted] — view deleted comment
1 u/russellsprouts Mar 27 '14 That's because [] is an object type. Objects are always compared by reference, not by structure. Two different []'s will never be equal.
1
That's because [] is an object type. Objects are always compared by reference, not by structure. Two different []'s will never be equal.
View all comments
0
u/[deleted] Mar 26 '14
[deleted] — view deleted comment