Well Which Is It

Well Which Is It
javascript-memes, nan-memes, typeof-memes, programming-logic-memes, language-quirks-memes | ProgrammerHumor.io

JavaScript: "NaN stands for 'Not A Number'"

Also JavaScript: typeof NaN returns 'number'

This is peak JavaScript energy right here. The language literally created a special value to tell you something isn't a number, then categorized it as a number. It's like labeling a vegetarian dish "Contains No Meat" and listing the first ingredient as beef. Just another day in JS wonderland where nothing makes sense and we're all pretending it's fine.

More Like This