HACKER Q&A
📣 linkdd

Help me find this website that I should have bookmarked


Hello HN,

Years ago, I came across a website about JavaScript weirdness.

It was structured as a list of exercices with an example of output and you had to come up with the snippet of code to produce that output.

There was stuff like:

  > x === x
  false
  // solution was x = NaN
Or:

  > a == b && b == c && a != c
  true
I can't find the website anymore, I'm wondering if someone here remembers it.


  👤 cgrs Accepted Answer ✓
Might be this one? https://alf.nu/ReturnTrue

👤 alhirzel
This is a funny video with a similar premise - https://www.destroyallsoftware.com/talks/wat

👤 fprotthetarball
Sounds like this: http://jsquiz.wtf, but the website is now down.

Referenced here: https://www.aleksandra.codes/javascript-quiz

Looks like it may be available here: https://wtf-js-quiz.netlify.app



👤 wishawa