3. ...And the Good


#1

What's wrong with my code ???
for (i = 1; i <= 20; i++;)
{
if ((i % 3 === 0 && i % 5 === 0))
{
console.log("FizzBuzz")
}
else if (i % 3 === 0)
{
console.log("Fizz")
}
else if (i % 5 === 0)
{
console.log("Buzz")
}
else
{
console.log(i)
}
}

SyntaxError : Unexpected token


#2

At the first line of code you dont need to use ";" after i++