jroid8@lemmy.world to Programmer Humor@lemmy.ml · 2 年前know the features of your languagelemmy.worldimagemessage-square144fedilinkarrow-up1642arrow-down124
arrow-up1618arrow-down1imageknow the features of your languagelemmy.worldjroid8@lemmy.world to Programmer Humor@lemmy.ml · 2 年前message-square144fedilink
minus-squareshastaxc@lemm.eelinkfedilinkarrow-up2·2 年前But 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)();