[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: [OT] Javascript Comparison Table
- From: Patrick Donnelly <batrick@...>
- Date: Wed, 26 Mar 2014 16:44:54 -0400
Given all the traffic concerning Lua 5.3.0, I figured it'd be good to
share this:
http://dorey.github.io/JavaScript-Equality-Table/
Some choice comments from reddit [1]:
"I'm disappointed that it's symmetrical. Come on Javascript! You can
do better than that."
"At least it's not transitive: "0" == 0 is true, 0 == "" is true, but
"0" == "" is false. Insanity is saved!"
Hopefully helps ground some of us on why we so aggressively discuss
Lua's design choices =)
[1] http://www.reddit.com/r/programming/comments/21ezh3/javascript_equality_table/
--
Patrick Donnelly