Whats wrong with my syntax?


#1

/*jshint multistr:true */
var text = ("Brian")
var myName = "Brian";
var hits = [];

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


#2

I think you've added one too many +s, it should be

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