r/programminghorror • u/No_Opening_5597 • Sep 25 '26
Javascript Rock paper scissors
I'm way too proud of this solution haha
288
Upvotes
r/programminghorror • u/No_Opening_5597 • Sep 25 '26
I'm way too proud of this solution haha
View all comments
Show parent comment
2
u/HugoNikanor Sep 25 '26
The only JavaScript "weirdness" here is that
number + string === string. The actual horror here could be replicated in any language.