Your second "For" loop. I've hit the wall


I'm starting to lose it lol. I've looked at several examples that people have posted and resorted to copying it character for character but still... second loop is not returning values to hit array. I appreciate any help, thanks.

/*jshint multistr:true */
var text = "Hello, my name is Tyler. If Tyler doesn't figure this out soon than Tyler may need a new laptop and bedroom window. Please help Tyler.";

var myName = "Tyler";

var hits = [];

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


Tyler is comparing text[0] to "T" a bunch of times, Tyler should let go of this first character and look at the ones that follow as well.