fizzbuzz in js code example
Example: fizzbuzz javascript
// This is the most compact one I could make
for (let i = 1; i < 101; i++) console.log((i % 3 ? "" : "fizz") + (i % 5 ? "" : "buzz"));
// This is the most compact one I could make
for (let i = 1; i < 101; i++) console.log((i % 3 ? "" : "fizz") + (i % 5 ? "" : "buzz"));