Still stuck on part 5. Shows new error now though


#1

/*jshint multistr:true */
var text = "something something Jai something why did you\
do it Jai? something something something Jai."
var myName = "Jai";
var hits = [];
for(var i = 0; i < (text.length - i); i++) {
if(text[2] === "J"); {
for(var j = i; j < (i + myName.length); j++) {
hits = [3];
hits.push(text[j]);
hits[3]; "Jai";
}
}
};

Now it shows a new error - Oops, try again. Make sure you're pushing letters to the hits array!
My name appears on the right though.


#2

I did it, don't worry about it.