Can somebody please tell me what is wrong with this code 5/7


#1

var text = "Hello Hi Hey Jamie Yo Hallo Bonjour Jamie Guten Tag!";
var myName = "Jamie";
var hits = [];
for (var i = 0; i > text.length; i++) {
if (text[i] === "J") {
for (var j=i; j <= (myName.length + i); j++) {
hits.push(text[i]);
console.log(hits[0]);
}
}
}


#2

try hits.push(text[j]);


#3

i > text.length

This will never run, as i is 0.


#4

Thanks so much! This really helped