goldsmith/plugins/minify/testdata/reference/fizzbuzz.js

1 line
143 B
JavaScript
Raw Normal View History

2024-02-17 06:35:49 +00:00
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)}