Sleepless One@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agoThe JavaScript type coercion algorithmlemmy.mlimagemessage-square42linkfedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1imageThe JavaScript type coercion algorithmlemmy.mlSleepless One@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square42linkfedilinkfile-text
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.