javascript number based for loop skipping iterations 1-5

I have this function and I cannot at all figure out why its doing this, there doesn’t seem to be solutions online that apply to this, I have this loop:

for (i = 0; i<components.length; i++){
        console.log(i);
        if (components[i] != null){
            components[i].draw();
        }
    }

in the console log it goes 0, 6, 7, 8, etc.. I have debugged and checked that the components array has items at 1-5. draw is called for the first component fine but it skips the second iteration all together

I can’t figure out any possible reason why this is happening, even if components was modified, ‘i’ should still continue going up by 1