this post was submitted on 21 Apr 2024
710 points (97.0% liked)

Programmer Humor

32410 readers
1 users here now

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

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Fargeol@lemmy.ml 43 points 1 year ago* (last edited 1 year ago) (9 children)

1 - Easiest way to run a script in your browser
2 - Always finds its way if inputs are bad
Nan - undefined

[–] Skullgrid@lemmy.world 11 points 1 year ago (7 children)

NaN is of type number. because fuck me.

[–] kevincox@lemmy.ml 10 points 1 year ago

To be fair, this is actually reasonable. But it does look stupid on the face of it.

load more comments (6 replies)
load more comments (7 replies)