Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

Commonmark migration
Source Link

#JavaScript, 62 bytes

JavaScript, 62 bytes

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

I think I this is the shortest Javascript solution now.

#JavaScript, 62 bytes

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

I think I this is the shortest Javascript solution now.

JavaScript, 62 bytes

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

I think I this is the shortest Javascript solution now.

changed to console.log, highlight syntax
Source Link
ETHproductions
  • 50.3k
  • 6
  • 96
  • 241

#JavaScript, 5662 bytes

for(i=0;++i<101;alert(i%5?f||i:f+'Buzz'))f=i%3?'':'Fizz'
for(i=0;++i<101;console.log(i%5?f||i:f+'Buzz'))f=i%3?'':'Fizz'

I think I this is the shortest Javascript solution now.

#JavaScript, 56 bytes

for(i=0;++i<101;alert(i%5?f||i:f+'Buzz'))f=i%3?'':'Fizz'

I think I this is the shortest Javascript solution now.

#JavaScript, 62 bytes

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

I think I this is the shortest Javascript solution now.

formatted to show up properly on the leaderboard
Source Link
ETHproductions
  • 50.3k
  • 6
  • 96
  • 241

#Javascript#JavaScript, 56 bytes for(i=0;++i<101;alert(i%5?f||i:f+'Buzz'))f=i%3?'':'Fizz' I

for(i=0;++i<101;alert(i%5?f||i:f+'Buzz'))f=i%3?'':'Fizz'

I think I this is the shortest Javascript solution now.

#Javascript, 56 bytes for(i=0;++i<101;alert(i%5?f||i:f+'Buzz'))f=i%3?'':'Fizz' I think I this is the shortest Javascript solution now.

#JavaScript, 56 bytes

for(i=0;++i<101;alert(i%5?f||i:f+'Buzz'))f=i%3?'':'Fizz'

I think I this is the shortest Javascript solution now.

added 1 character in body
Source Link
Mama Fun Roll
  • 10k
  • 1
  • 38
  • 47
Loading
Source Link
Mama Fun Roll
  • 10k
  • 1
  • 38
  • 47
Loading

AltStyle によって変換されたページ (->オリジナル) /