• beforan@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    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));