cm0002@lemmy.world to Programmer Humor@programming.dev · 1 year agoWhich of these javascript expressions is false?lemmy.mlimagemessage-square70fedilinkarrow-up1480arrow-down110
arrow-up1470arrow-down1imageWhich of these javascript expressions is false?lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 1 year agomessage-square70fedilink
minus-squaremoomoomoo309@programming.devlinkfedilinkEnglisharrow-up29·edit-21 year 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