Second Loop push issue


#1

No luck figuring out this issue on my own, can anyone help solve :frowning:


#2

Don't kick yourself too hard, but look at this line and see if you can find the problem.

for (var j = i ; j < (i + myName.length) ; j++ ) ; {

#3

My brain must be fried at this point - think I am missing it?


#4

That's alright, we all have those moments, I'll have a pointer to it. Just remove that semi-colon and your code should work.

for (var j = i ; j < (i + myName.length) ; j++ ) ; {
                                                 ^

#5

There we go! Sometimes its the smallest things that go unnoticed...Thank you very much!!