cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agoWhich of these javascript expressions is false?imagemessage-square74fedilinkarrow-up1490cross-posted to: [email protected]
arrow-up1490imageWhich of these javascript expressions is false?cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square74fedilinkcross-posted to: [email protected]
minus-squaremoomoomoo309@programming.devlinkfedilinkEnglisharrow-up30·edit-22 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