Second Loop, help!


So..I'm stuck here...anyone can help me?...Thanks!

var text= "Hey baby how's my Ana in your face doing?";
var myName= "Ana";
var hits= [];

for(i=0; i<text.length; i++){
    if(text[i]==="A" {
        for(var j = i; j< (myName.length + i); j++){


You should read the error message that you received...

Does this look right to you? You're missing a closing parenthesis, )


Thanks for the help! :slight_smile:


No problem :))))))))


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.