Ask HN: Help me find this website that I should have bookmarked

20 points by linkdd ↗ HN
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.

12 comments

[ 3.0 ms ] story [ 47.0 ms ] thread
Unfortunately no.

This repository is a list of weird javascript stuff, the site I remember was a list of exercise and you had to find/input the snippet of code in a textarea that was then evaluated.

For the record, it's not https://jsisweird.com/ as well since here it asks you what the output is.

Might be this one? https://alf.nu/ReturnTrue
Thank you! This is the one!
Awesome concept but unfortunately the worst input field I've ever seen! It's a nightmare on mobile. Will have to try on desktop later.