Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Choosing from array solution in Creative category for [old] Fizz Buzz by ermichin158
"use strict";
function fizzBuzz(n) {
return [
n.toString(), 'Fizz', 'Buzz', 'Fizz Buzz'
][2 * (n % 5 == 0) + (n % 3 == 0)];
}
Feb. 19, 2017
Comments: