coja@lemmy.ml to Programmer Humor@lemmy.ml · 9 months agoFind yourselflemmy.mlimagemessage-square1fedilinkarrow-up15arrow-down10
arrow-up15arrow-down1imageFind yourselflemmy.mlcoja@lemmy.ml to Programmer Humor@lemmy.ml · 9 months agomessage-square1fedilink
minus-squareGTG3000@programming.devlinkfedilinkРусскийarrow-up1·9 months agoWhy use const max = (x, y) => x > y ? x : y instead of function max(x, y) { return x > y ? x : y } ?