📜  fizzbuzz javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:01.995000             🧑  作者: Mango

代码示例3
// This is the most compact one I could make

for (let i = 1; i < 101; i++) console.log((i % 3 ? "" : "fizz") + (i % 5 ? "" : "buzz"));