Open mrjones91 opened 3 weeks ago
I'm not seeing any fizzbuzz output and it would be nice to not have empty output lines
for (let i = 0; i < 31; i++) { const item = i; let fizz; let buzz;
if (item % 3 === 0) { fizz = "fizz"; } if (item % 5 === 0) { buzz = "buzz"; } console.log(fizz + buzz || item);
}
I'm not seeing any fizzbuzz output and it would be nice to not have empty output lines