Can someone help me with #5


#1



5. Your second "for" loop


There is a syntax error, but i can't find it.


/*jshint multistr:true */
var myName = "Emily";
var text = "I'm Emily";
var hits = [];
for (var i = 0; i < text.length; i++);{
    if (text[i] === 'E') {
        for( var j = i; < (myName.length + i); j++){
            hits.push(text[j];
        };
    };
};


#2

Remove the semi-colon from this line. We never precede a { with a ;.

    j < i + myName.length

    hits.push(text[j]);

#3

Thank you very much!