this post was submitted on 14 Nov 2026
394 points (97.4% liked)

Programmer Humor

34156 readers
867 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 2 days 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