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