Why is it wrong


#1

/*jshint multistr:true */
var text = "Alex am trying to find the text in this sentence."
var myName = "Alex"
var hits = [ ]
for (var i = 0; i < myName.length; i++);
if (text[0] === 'A') {
};
for (var j = i; j < (myName.length + i); j++){
hits.push(text[j]);
}
if(hits.length === ){
console.log("Your name wasn't found!");
}
else{
console.log(hits);
}


#2

What is hits.length equal to?


#3

I solved it already thx