guber@lemmy.blahaj.zone to 196@lemmy.blahaj.zoneEnglish · 1 month agoternary opruleatorlemmy.blahaj.zoneimagemessage-square19linkfedilinkarrow-up191arrow-down17file-textcross-posted to: [email protected]
arrow-up184arrow-down1imageternary opruleatorlemmy.blahaj.zoneguber@lemmy.blahaj.zone to 196@lemmy.blahaj.zoneEnglish · 1 month agomessage-square19linkfedilinkfile-textcross-posted to: [email protected]
minus-squareJankatarch@lemmy.worldlinkfedilinkEnglisharrow-up10·edit-21 month agoThat return a === b ? true : false Is bothering me way too much. Just return a === b
minus-squareSeductiveTortoise@piefed.sociallinkfedilinkEnglisharrow-up9·edit-21 month 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.