274
you are viewing a single comment's thread
view the rest of the comments
[-] bigmclargehuge@lemmy.zip 15 points 15 hours 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

this post was submitted on 14 Nov 2026
274 points (97.9% liked)

Programmer Humor

34135 readers
1937 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