minus-squareleetoProgrammer Humor•I don't want to use ternarieslinkfedilinkarrow-up3·2 years agopersonally I prefer const testStuff = condition ? outcome(1) : outcome(2); linkfedilink
personally I prefer
const testStuff = condition ? outcome(1) : outcome(2);