Remix.run Logo
winrid 11 hours ago

you can flip it and save a few bytes, but not valid fizzbuzz then:

for(i=100;i--;console.log(i%5?f||i:f+'Buzz'))f=i%3?'':'Fizz'

embedding-shape 11 hours ago | parent [-]

> but not valid fizzbuzz then

Well, if we let that requirement be broken, I'll present an even shorter JS version:

    1