Unexpected Token { - Please Help


#1

I've been looking at other posts and for the life of me I can't see what I'm doing wrong! It keep coming up with "Unexpected Token {"

This is what I have down:

var text = "Hello my name is Felipe. You should be more like Felipe.";
var myName = "Felipe";
var hits = [];

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


#2

You have your opening curly bracket for the for loop inside the parameters for the for loop.. It has be after the parameter


#3

you have 1 extra curly bracket.