for (let i = 1; i <= 100; ++i) {
    let str = "";
    if (i % 3 === 0 ) {
        str += "Fizz";
    }
    if (i % 5 === 0) {
        str += "Buzz"
    }
    if (str === "") {
        str = i
    }
    console.log(str)
}

// Nicer solution:
// console.log(str || i) instead of last if-clause

for (let i = 1; i <= 100; i++) {
	let s = "";
	if (i % 3 == 0) s += "Fizz";
	if (i % 5 == 0) s += "Buzz";
	console.log(s || i)
}

Add chapter 2, exercise 2
Add chapter 2, exercise 2
