guber@lemmy.blahaj.zone to 196@lemmy.blahaj.zoneEnglish · 4 days agoternary opruleatorlemmy.blahaj.zoneimagemessage-square19linkfedilinkarrow-up189arrow-down17file-text
arrow-up182arrow-down1imageternary opruleatorlemmy.blahaj.zoneguber@lemmy.blahaj.zone to 196@lemmy.blahaj.zoneEnglish · 4 days agomessage-square19linkfedilinkfile-text
minus-squareJankatarch@lemmy.worldlinkfedilinkEnglisharrow-up10·4 days agoThat return a === b ? true : false Is bothering me way too much. Just return a === b
minus-squareSeductiveTortoise@piefed.sociallinkfedilinkEnglisharrow-up9·edit-24 days agoreturn true === (a === b) ? true : false Now that I think of it, the return of false should be a casted integer. Just to add horror.
That
Is bothering me way too much. Just
return true === (a === b) ? true : false
Now that I think of it, the return of false should be a casted integer. Just to add horror.