Skip to main content
Commonmark migration
Source Link

#JavaScript, 73 71 65 bytes

JavaScript, 73 71 65 bytes

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

#JavaScript, 73 71 65 bytes

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

JavaScript, 73 71 65 bytes

for(i=1;i<101;i++)console.log((i%3?"":"Fizz")+(i%5?"":"Buzz")||i)
changed ternary test
Source Link
Stephen
  • 14k
  • 3
  • 52
  • 117

#JavaScript, 73 71 65 bytes

for(i=1;i<101;i++)console.log((i%3?"":"fizz""Fizz")+(i%5?"":"buzz""Buzz")||i)

#JavaScript, 73 71 65 bytes

for(i=1;i<101;i++)console.log((i%3?"":"fizz")+(i%5?"":"buzz")||i)

#JavaScript, 73 71 65 bytes

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

#JavaScript, 73 7171 65 bytes

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

#JavaScript, 73 71 bytes

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

#JavaScript, 73 71 65 bytes

for(i=1;i<101;i++)console.log((i%3?"":"fizz")+(i%5?"":"buzz")||i)
added 19 characters in body
Source Link
Loading
Formatting
Source Link
FryAmTheEggman
  • 17.5k
  • 3
  • 40
  • 97
Loading
Source Link
Loading