5 of 7 syntax error


#1

Hello, this is my code and I would love some help!

/*jshint multistr:true */

var text = "al;skdfakjshahsdhj jciekjghdghviehfh \
dkajivParkera;sldkfjjbnerkdfjhjhielksjdfpklfjieP\
Parker";

var myName = "Parker";

var hits = [];

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


#2

i think your code should be: for(var j = i; j<(i+myName.length); j++) instead of:
for(var j = i; < i + myName.length; j++)


#3

tHANK YOU :heart: :purple_heart: :yellow_heart: :green_heart: :blue_heart: