ShaggySnacks@lemmy.myserv.one to Today I Learned@lemmy.worldEnglish · 8 months agoTIL About How 11 Lines of Code Supported Web Development and the Code Was Deleted It Broke the Internetgetpocket.comexternal-linkmessage-square69fedilinkarrow-up1141arrow-down118
arrow-up1123arrow-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 · 8 months agomessage-square69fedilink
minus-squareperson@lemm.eelinkfedilinkEnglisharrow-up6·8 months agoYou didn’t just use a ternary operator to then return true or false.
minus-squarexor@infosec.publinkfedilinkEnglisharrow-up2arrow-down1·8 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…