@[email protected] to Programmer [email protected] • 1 year agoknow the features of your languagelemmy.worldimagemessage-square144fedilinkarrow-up1642arrow-down124
arrow-up1618arrow-down1imageknow the features of your languagelemmy.world@[email protected] to Programmer [email protected] • 1 year agomessage-square144fedilink
minus-squareshastaxclinkfedilink2•1 year agoBut this just creates a function. You still have to call it.
const fn = (a, b) => a ?? b
Gotta love some peer review
But this just creates a function. You still have to call it.
((a, b) => a ?? b)();