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