this post was submitted on 14 Nov 2026
373 points (97.2% liked)

Programmer Humor

34135 readers
1596 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 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] bigmclargehuge@lemmy.zip 15 points 1 day ago

The way I think about it: number is a js type. A floating point double, in other languages.

NaN is a state that a number type can be in, representing a situation where the outcome of the numeric operation cannot be determined.

Anywho, also yea ….JavaScript is goofy