coja to Programmer [email protected] • 8 months agoFind yourselflemmy.mlimagemessage-square108fedilinkarrow-up1659arrow-down129
arrow-up1630arrow-down1imageFind yourselflemmy.mlcoja to Programmer [email protected] • 8 months agomessage-square108fedilink
minus-squareGTG3000linkРусский3•8 months agoWhy use const max = (x, y) => x > y ? x : y instead of function max(x, y) { return x > y ? x : y } ?
Why use
const max = (x, y) => x > y ? x : y
instead offunction max(x, y) { return x > y ? x : y }
?