Ask HN: 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.
12 comments
[ 3.0 ms ] story [ 47.0 ms ] threadThis 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.
The website I'm talking about was like a game, you had a textarea where you type in the snippet, and the website would evaluate it and tell you if it matched the output or not.
It did not provide the solutions, you had to come up with them.
Referenced here: https://www.aleksandra.codes/javascript-quiz
Looks like it may be available here: https://wtf-js-quiz.netlify.app
But once again, this is not it :(
This website shows you snippets of code and you have to guess the answer. The website I'm talking about showed you outputs, and you had to guess the snippet of code.