HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 23 days agoI have a 64-bit genderlemmy.mlexternal-linkmessage-square4fedilinkarrow-up13arrow-down10cross-posted to: programmerhumor@lemmy.ml
arrow-up13arrow-down1external-linkI have a 64-bit genderlemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 23 days agomessage-square4fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squaresteventhedev@lemmy.worldlinkfedilinkarrow-up1·23 days agoClearly your gender field is a boolean. Which means it can be either true, false, null, or undefined. Except in javascript where for some reason it can sometimes be NaN, but only when you try to compare two people.
Clearly your gender field is a boolean. Which means it can be either true, false, null, or undefined. Except in javascript where for some reason it can sometimes be NaN, but only when you try to compare two people.