1 line
143 B
JavaScript
1 line
143 B
JavaScript
function fizzbuzz(e){for(var t=1;t<=e;t++)t%15==0?console.log("fizzbuzz"):t%3==0?console.log("fizz"):t%5==0?console.log("buzz"):console.log(t)} |