Your second 'for' loop


Where on Earth do I start? I find this significantly more difficult than the previous exercises. Here is my code so far:

thanks :slightly_smiling:


I did the same thing as you, and I found the answer in the sample code but I do not understand it.

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

should be

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

Also, your for loops need opening and closing braces {} instead of a semicolon.