3. Your first for loop


I have followed the instructions, as well as the hint, but it always pops up with the error message:
ReferenceError: Invalid left-hand side expression in postfix operation
Here is my code

/*jshint multistr:true */
var text = "I like to morgan eat apples morgan, but\
peaches are morgan my favourite fruit morgan.";
var myName = "Morgan";
var hits = [];
for(var i = 0; i < text.length; 0 ++)


0++, why would you do this?


im an idiot. Its been a while since i did the lessons and i forgot to put the variable there and instead i put a number. Thank you, it works now.