@[email protected] to Programmer [email protected] • 24 days agostopsh.itjust.worksimagemessage-square53fedilinkarrow-up1503
arrow-up1503imagestopsh.itjust.works@[email protected] to Programmer [email protected] • 24 days agomessage-square53fedilink
minus-square@[email protected]linkfedilink5•23 days agoWell, this is in JS to be clear Instead of const name = user.name It’s const userToName(user) => user.name; const name = userToName(user); Ad nauseum.
minus-square@[email protected]linkfedilinkEnglish3•edit-223 days agoI was afraid you’d say that. That’s stupid. Do they give a reason for why that’s ‘necessary’? (Also it should be const userToName = (user) => user.name;)
Well, this is in JS to be clear
Instead of
const name = user.name
It’s
const userToName(user) => user.name;
const name = userToName(user);
Ad nauseum.
I was afraid you’d say that. That’s stupid.
Do they give a reason for why that’s ‘necessary’?
(Also it should be
const userToName = (user) => user.name;
)