ShaggySnacks@lemmy.myserv.one to Today I Learned@lemmy.worldEnglish · 5 months agoTIL About How 11 Lines of Code Supported Web Development and the Code Was Deleted It Broke the Internetgetpocket.comexternal-linkmessage-square89fedilinkarrow-up1140arrow-down119
arrow-up1121arrow-down1external-linkTIL About How 11 Lines of Code Supported Web Development and the Code Was Deleted It Broke the Internetgetpocket.comShaggySnacks@lemmy.myserv.one to Today I Learned@lemmy.worldEnglish · 5 months agomessage-square89fedilink
minus-squareperson@lemm.eelinkfedilinkEnglisharrow-up6·5 months agoYou didn’t just use a ternary operator to then return true or false.
minus-squarexor@infosec.publinkfedilinkEnglisharrow-up2arrow-down1·5 months agowell although 1 evaluates as true and zero as false, it’s not the same thing… so yes, i did…
You didn’t just use a ternary operator to then return true or false.
well although 1 evaluates as true and zero as false, it’s not the same thing…
so yes, i did…