console.log(
['foo'] != ['foo']
&& ['foo'] <= ['foo']
&& ['foo'] >= ['foo']);
// -> true
Last active
April 18, 2016 05:38
-
-
Save ZacharyRSmith/6526302945d8039d50f5 to your computer and use it in GitHub Desktop.
I found the following surprising while looking into JavaScript's equality/comparisons:
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment