@cm0002@lemmy.world to Programmer Humor@programming.dev • 1 month agoWhich of these javascript expressions is false?lemmy.mlimagemessage-square83fedilinkarrow-up1513arrow-down111cross-posted to: programmerhumor@lemmy.ml
arrow-up1502arrow-down1imageWhich of these javascript expressions is false?lemmy.ml@cm0002@lemmy.world to Programmer Humor@programming.dev • 1 month agomessage-square83fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-square@moomoomoo309@programming.devlinkfedilinkEnglish30•edit-21 month 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