@[email protected] to Science [email protected]English • 1 month agoif statement == falsei.imgflip.comimagemessage-square39fedilinkarrow-up1246arrow-down118
arrow-up1228arrow-down1imageif statement == falsei.imgflip.com@[email protected] to Science [email protected]English • 1 month agomessage-square39fedilink
minus-squareAdmiral PatricklinkfedilinkEnglish1•edit-21 month agoIt’ll give you 1 ~= true or 0 ~= undefined, but I typically use Typescript which prefers actual booleans to boolean-ish
minus-square@[email protected]linkfedilinkEnglish1•1 month agohuh. interesting. i wonder what number it’s actually storing for false then?
It’ll give you 1 ~= true or 0 ~= undefined, but I typically use Typescript which prefers actual booleans to boolean-ish
huh. interesting. i wonder what number it’s actually storing for false then?