coja to Programmer [email protected] • 1 year agoFind yourselflemmy.mlimagemessage-square104fedilinkarrow-up1641
arrow-up1641imageFind yourselflemmy.mlcoja to Programmer [email protected] • 1 year agomessage-square104fedilink
minus-squareGTG3000linkfedilinkРусский3•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 }
?