minus-squarelee@programming.devtoProgrammer Humor@programming.dev•I don't want to use ternarieslinkfedilinkarrow-up3·1 year agopersonally I prefer const testStuff = condition ? outcome(1) : outcome(2); linkfedilink
personally I prefer
const testStuff = condition ? outcome(1) : outcome(2);