Not a Numberjemmy.jeena.netimage Jeena ( @jeena@jemmy.jeena.net ) Programmer Humor@programming.dev • 1 month ago message-square19fedilinkarrow-up1221
arrow-up1221imageNot a Numberjemmy.jeena.net Jeena ( @jeena@jemmy.jeena.net ) Programmer Humor@programming.dev • 1 month ago message-square19fedilink
minus-square tiredofsametab ( @tiredofsametab@kbin.run ) linkfedilink5•1 month agoIn JS, it’s just NaN if my browser’s console is to be believed. I suspected it would probably be {object} for no clear reason
minus-square nickwitha_k (he/him) ( @nickwitha_k@lemmy.sdf.org ) linkfedilink6•1 month ago for no clear reason JS That’s the reason. The language has an awful type system.
In JS, it’s just NaN if my browser’s console is to be believed. I suspected it would probably be
{object}
for no clear reason