philnash@programming.dev to JavaScript@programming.devEnglish · 9 months agoStop nesting ternaries in JavaScriptwww.sonarsource.comexternal-linkmessage-square32fedilinkarrow-up138
arrow-up127external-linkStop nesting ternaries in JavaScriptwww.sonarsource.comphilnash@programming.dev to JavaScript@programming.devEnglish · 9 months agomessage-square32fedilink
minus-squarespartanatreyu@programming.devlinkfedilinkarrow-up2·9 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.