5/7 don't understand whats wrong


#1

var text = "Hey, its me shu so how are you doing im doing good so."
var myName = "shu"
var hits = [];
for(var i = 0; i < text.length; i++) {
if (text[i] === 's') {
for(var j = i; j < (i + myName.length; j++) {
hits.push(text[j]);

    }
}

}

I'm getting the error unexpected token, can someone please explain whats wrong to me?


#2

you forgot your closing parenthesis after this statement


#3

didn't even see it lol thanks