@tatterdemalion@programming.dev to Science Memes@mander.xyzEnglish • 6 days agoif statement == falsei.imgflip.comimagemessage-square41fedilinkarrow-up1249arrow-down118
arrow-up1231arrow-down1imageif statement == falsei.imgflip.com@tatterdemalion@programming.dev to Science Memes@mander.xyzEnglish • 6 days agomessage-square41fedilink
minus-squareAdmiral PatricklinkfedilinkEnglish1•edit-216 hours agoIt’ll give you 1 ~= true or 0 ~= undefined, but I typically use Typescript which prefers actual booleans to boolean-ish
minus-square@juliebean@lemm.eelinkfedilinkEnglish1•10 hours 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?