Xander Dumaine
  • Blog
  • About Me
  • Projects
  • Résumé
  • Books
Subscribe
Tagged

code-golf

A collection of 1 post

software

FizzBuzz Code Golf in JavaScript

The FizzBuzz problem is defined as: For the numbers 1 to 100, print "fizzbuzz" if the number is divisible by 3 and 5, "fizz" if it's only divisible by 3, "buzz" if it's only divisible by 5, and nothing if it's divisible by neither

  • Xander Dumaine
Xander Dumaine Oct 31, 2013 • 1 min read
Xander Dumaine © 2021
  • Software
  • Health
Powered by Ghost