Search Name for Your Text 5. Your second for loop


#1



/*jshint multistr:true */
var text = "Yo, Yo Yo! \
WHAT'S UP MA HOMIE BRO! Costa, Lemme tell ya somtin'\
i'ma hot air b'loon dat'll go to COSTA rica! Not Kosta\
Rica... COSTA rica!";

var myName = "Costa";
var hits = [];
for(var i = 0; i < myName.length; i++){

}
if (text[i] === 'C') {
for(var j = i;  i < myName.length; i++){

}
}






Hello everyone, I'm completely lost on what to do here on this step.


#2

Have you looked at other explanations? I wrote several (link1, link2) and i am sure there are more. Writing an explanation for this from scratch is a extremely time consuming thing to do