Your first for loop


#1

/*jshint multistr:true */

var text = "Anything Edd, anything at all. But no matter what I enter this block of code will not work";
var myName= "Edd";
var hits = [];

if(var i = 0; i < text.length; i++){
}

Oops, try again. There was a problem with your syntax.

This code will not work, for me. I'm flicking through the forums and cannot find a solution.
Would someone please point out the error?


#2

IF instead of FOR
big mistake