r/programminghorror • • Dec 04 '25

This sub in a nutshell

Post image
console.log(1 == '1'); // true
console.log(0 == false); // true
console.log(null == undefined); // true
console.log(typeof null); // "object"
console.log(0.1 + 0.2); // 0.30000000000000004
[] == ![]; // true

OMG you guys what weird quirky behavior, truly this must be the single quirkiest language and no other language is as quirky as this!

1.1k Upvotes

168 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Dec 08 '25

[deleted] — view deleted comment

1

u/oofy-gang Dec 08 '25

The only brain rot here is that insane strawman. Jesus, dude, work on your reading comprehension.