philnash@programming.dev to JavaScript@programming.devEnglish · 10 months agoStop nesting ternaries in JavaScriptwww.sonarsource.comexternal-linkmessage-square33fedilinkarrow-up138arrow-down19
arrow-up129arrow-down1external-linkStop nesting ternaries in JavaScriptwww.sonarsource.comphilnash@programming.dev to JavaScript@programming.devEnglish · 10 months agomessage-square33fedilink
minus-squarespartanatreyu@programming.devlinkfedilinkarrow-up1·10 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.