☆ Yσɠƚԋσʂ ☆ to Programmer [email protected]English • 1 year agoJavaScript devs be likelemmy.mlimagemessage-square11fedilinkarrow-up1101arrow-down15
arrow-up196arrow-down1imageJavaScript devs be likelemmy.ml☆ Yσɠƚԋσʂ ☆ to Programmer [email protected]English • 1 year agomessage-square11fedilink
minus-square@[email protected]linkfedilinkEnglish2•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));