Sleepless One@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agoThe JavaScript type coercion algorithmlemmy.mlexternal-linkmessage-square15fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1external-linkThe JavaScript type coercion algorithmlemmy.mlSleepless One@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square15fedilinkfile-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.