every once in a while you see someone dunk on some programming language for like

> typeof(NaN)
number

but like, the whole point of having a NaN value is that it means "something has gone wrong" but it can still fit in a numeric variable to be looked at later without immediately crashing. that is what it's for. what type would you make it, smart guy

Follow

@monorail these people don't actually care (or possibly even know) what they're talking about they just want to feel smug because javascript bad!!, 11!1!

Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.