cm0002@lemmy.world to Programmer Humor@programming.dev · 9 months agoWhich of these javascript expressions is false?lemmy.mlimagemessage-square74linkfedilinkarrow-up1391arrow-down18
arrow-up1383arrow-down1imageWhich of these javascript expressions is false?lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 9 months agomessage-square74linkfedilink
minus-squaremoomoomoo309@programming.devlinkfedilinkEnglisharrow-up21·9 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.