cm0002@lemmy.world to Programmer Humor@programming.dev · 11 months agoWhich of these javascript expressions is false?lemmy.mlexternal-linkmessage-square79linkfedilinkarrow-up1511arrow-down111
arrow-up1500arrow-down1external-linkWhich of these javascript expressions is false?lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 11 months agomessage-square79linkfedilink
minus-squaremoomoomoo309@programming.devlinkfedilinkEnglisharrow-up30·11 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