Help with this, it says syntax error after for loop


/*jshint multistr:true */
var text = "Say say sa say John John john\
john john john john say say say say say john";

var myName = "john";
var hits = [];
for ( var i = 0, i < text.length, i++)

Replace this line with your code.


Look up how a for-loop is supposed to look and compare that to yours.
Here's a reference, you can google for others but googling "MDN" and what you're looking for, like "MDN for-loop" will probably cover most of your js needs