philnash@programming.dev to JavaScript@programming.devEnglish · 11 months agoStop nesting ternaries in JavaScriptwww.sonarsource.comexternal-linkmessage-square34fedilinkarrow-up143arrow-down111
arrow-up132arrow-down1external-linkStop nesting ternaries in JavaScriptwww.sonarsource.comphilnash@programming.dev to JavaScript@programming.devEnglish · 11 months agomessage-square34fedilink
minus-squarespartanatreyu@programming.devlinkfedilinkarrow-up2·11 months agoMatch already returns the value which can be thrown into a variable.
Match already returns the value which can be thrown into a variable.