this post was submitted on 12 Jun 2023
7 points (100.0% liked)

Programmer Humor

32427 readers
568 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago

Ahhh… javascript…

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Omg it even works for “NaN”

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

NaN is actually a number in JavaScript

[–] [email protected] 1 points 1 year ago

tbf its the floating point standards fault

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

It works the other way around as well

[–] [email protected] 1 points 1 year ago

Take my angry upvote!

[–] [email protected] 1 points 1 year ago

I had to check if that's actually true. And yep, this is real.