So why does this skip 15...And the good!


#1

for(var i = 1; i < 21; i++) {
var a = i%3;
var b = i%5;

if(a !== 0 && b !==0) {
    console.log(i);
}
else if(a == 0 && b !== 0) {
    console.log("Fizz");
}
else if(a !== 0 && b == 0) {
    console.log("Buzz");
}

}


#2

Nvm, went back through it, missing conditional for if div by 5 && 3