minus-squareleetoProgrammer Humor•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);