Sleepless One@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agoThe JavaScript type coercion algorithmlemmy.mlimagemessage-square41linkfedilinkarrow-up11arrow-down10file-textcross-posted to: programmer_humor@programming.dev
arrow-up11arrow-down1imageThe JavaScript type coercion algorithmlemmy.mlSleepless One@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square41linkfedilinkfile-textcross-posted to: programmer_humor@programming.dev
minus-squarekureta@lemmy.mllinkfedilinkarrow-up0·1 year agowhy convert boolean to integer instead of converting the other operand to boolean? it doesn’t make sense.
why convert boolean to integer instead of converting the other operand to boolean? it doesn’t make sense.