Q:

Can someone explain the logic behind this? Why in the 'for' loop is it <12? How can the i var be over 2
?

I'm trying to understand the logic behind this code.
for (i = 0; i < 12; i++) {
    console.log(i);
}

I understand that the for loop is going to run 12 times, but I don't understand why the i variable is only