Your Second "For" Loop. Need Help!


#1

I really don`t understand what is wrong with my code here... Could someone please explain? Thank you!

var text="Hello my name is Karl Its true im not lying my name is actually Karl, No serriouosly my name is Karl!";
var myName="Karl";
hits=[];
for(i=0 ; i> text.length; i++){
console.log(text[i]);
if (text[i] === "K") {
for (var j = i; j < i+ myName.length; j++){
hits.push(text[j]);
}
}; }


#2

Should be,

    i < text.length;

#3

Oh my goodness. Thank you so very much!!