philnash to JavaScriptEnglish · 1 year agoStop nesting ternaries in JavaScriptwww.sonarsource.comexternal-linkmessage-square34fedilinkarrow-up143arrow-down111
arrow-up132arrow-down1external-linkStop nesting ternaries in JavaScriptwww.sonarsource.comphilnash to JavaScriptEnglish · 1 year agomessage-square34fedilink
minus-squarestockRot@lemmy.worldlinkfedilinkarrow-up4·1 year agoI don’t use JavaScript and only learned what a ternary is from this article, but that example was pretty damn readable in my opinion
I don’t use JavaScript and only learned what a ternary is from this article, but that example was pretty damn readable in my opinion