this post was submitted on 05 May 2025
460 points (98.9% liked)

Programmer Humor

23030 readers
1629 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 31 points 1 day ago* (last edited 1 day ago) (1 children)

And to further expand on that, if you do pass in a ~~sting~~ string, it handles it correctly.

> parseInt('0.0000005')

0
[–] [email protected] 16 points 1 day ago* (last edited 10 hours ago) (2 children)

What if I pass in a Stewart Copeland?

[–] [email protected] 3 points 19 hours ago

or a Honda civic

[–] [email protected] 8 points 1 day ago

😆 I'll be watching you...