Your second for loop help


it says my code is good to go and will let me continue but honestly im really confused and it wont show anything in the console

var text = "hey whats up im kalen";
var myName = "kalen";
var hits = [];

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


Don't forget to include log.console()!


console.log() **

I swear I type it backwards every.single.time lol


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