…or why you should prefer the
- Play the game
- Discussion about value order
- Weak typing in Wikipedia
- Visual explanation
Brendan Eich was asked to add the loose equality checking rules by a coworker in Netscape and considers it a mistake.
The initial reason to make this game was to try out state management with immer-wieder, but it's also to demonstrate that the
== rules are easy to get wrong even if you feel like you're familiar with them. It's in response to claims like this one by the well-known author getify:
The game uses emojis; your system and browser should preferably support color fonts and have an emoji font like EmojiOne or Noto Color Emoji installed for the emojis to display properly. If not, the game will provide fallback SVG images from emojitwo (using emoji-extractor).