5/7 I don't understand


#1

I really do not understand what to do. This is my code so far.

var text = "Dakota";
var myName = "Dakota";
var hits = [];
for (i = 5;i < text.length;i += 1);
if (text[i] === myName[0]) {
for (i = 0;i < myName.length;i = 0);
}


#2

@goldentv3 take a look at this post to get an idea what to do
Click to post