cm0002@lemmy.world to Programmer Humor@programming.dev · 27 days agoWhich of these javascript expressions is false?imagemessage-square81linkfedilinkarrow-up1510cross-posted to: programmerhumor@lemmy.ml
arrow-up1510imageWhich of these javascript expressions is false?cm0002@lemmy.world to Programmer Humor@programming.dev · 27 days agomessage-square81linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squaremoomoomoo309@programming.devlinkfedilinkEnglisharrow-up30·edit-227 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