coja@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agoFind yourselflemmy.mlimagemessage-square98fedilinkarrow-up1619arrow-down128
arrow-up1591arrow-down1imageFind yourselflemmy.mlcoja@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agomessage-square98fedilink
minus-squareGTG3000@programming.devlinkfedilinkРусскийarrow-up2·1 year 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 }
?