@cm0002@lemmy.world to Programmer Humor@programming.dev • 2 days agoWhich of these javascript expressions is false?lemmy.mlimagemessage-square78fedilinkarrow-up1490arrow-down110cross-posted to: programmerhumor@lemmy.ml
arrow-up1480arrow-down1imageWhich of these javascript expressions is false?lemmy.ml@cm0002@lemmy.world to Programmer Humor@programming.dev • 2 days agomessage-square78fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-square@moomoomoo309@programming.devlinkfedilinkEnglish30•edit-22 days agoIt’s C, NaN is never equal to itself in floating point, that’s not just a JS thing.
It’s C, NaN is never equal to itself in floating point, that’s not just a JS thing.
Yep, it’s C
No, it’s JS