I have no clue what to do for this step, please simplify what to do


pls show what to do cause i have no clue


6. Search Text for Your Name

var text = "Sens is Sens for Sense not Sins nor Since, make sense?";
var myName = "Sens";
var hits = []; // declare an array

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

if(hits.length === 0){
    console.log("Your name wasn't found!");

// [ 'S', 'e', 'n', 's', 'S', 'e', 'n', 's', 'S', 'e', 'n', 's', 'S', 'i', 'n', 's', 'S', 'i', 'n', 'c' ]


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