@cm0002@lemmy.world to Programmer Humor@programming.dev • 2 months agoWhich of these javascript expressions is false?lemmy.mlimagemessage-square83arrow-up1514cross-posted to: programmerhumor@lemmy.ml
arrow-up1514imageWhich of these javascript expressions is false?lemmy.ml@cm0002@lemmy.world to Programmer Humor@programming.dev • 2 months agomessage-square83cross-posted to: programmerhumor@lemmy.ml
minus-square@moomoomoo309@programming.devlinkfedilinkEnglish30•edit-22 months 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