Hacker News new | past | comments | ask | show | jobs | submit login

That is not a WTF.

A real WTF would be the opposite, two arrays comparing as equal because their values match. Like the brain-dead PHP comparison.




You want operators for both: test if it´s the same object (identity) and test if they are equivalent (equality).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: