cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agoWhich of these javascript expressions is false?lemmy.mlimagemessage-square65fedilinkarrow-up11arrow-down10cross-posted to: [email protected]
arrow-up11arrow-down1imageWhich of these javascript expressions is false?lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agomessage-square65fedilinkcross-posted to: [email protected]
minus-squaremoomoomoo309@programming.devlinkfedilinkEnglisharrow-up0·edit-22 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