☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agoJavaScript devs be likelemmy.mlimagemessage-square6fedilinkarrow-up118
arrow-up118imageJavaScript devs be likelemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square6fedilink
minus-squarebeforan@lemm.eelinkfedilinkEnglisharrow-up1·1 year agoEither that for the sweet sweet node_modules, or this for the code golf: Array(100).fill().forEach((_, n) => console.log((++n % 3 ? "" : "Fizz") + (n % 5 ? "" : "Buzz") || n));
Either that for the sweet sweet
node_modules
, or this for the code golf:Array(100).fill().forEach((_, n) => console.log((++n % 3 ? "" : "Fizz") + (n % 5 ? "" : "Buzz") || n));