Need easier explanation for second for loop


Okay..... Some how I did it right finally spending "HOURS" with lots of guesses.

I still don't know how the secon for loop works....

can some one explain easier way if it is possible?

/*jshint multistr:true */
var text = "Hi, my name is Brian and I'm\
rookie.  It is very confusing for me but I do not wish\
to give up!!!!"
var myName = "Brian";
var hits = [];

for(var i = 0; i < text.length; i++){
    if(text[i] === "H"){
        for(var j = i; j < i + myName.length; j++){


Starts at i and counts up myName.length times