Question 12 not sure whats wrong here


#1


#2

your for loop syntax is incorrect...

you have for( var = 0; i < names.lenght; i++)

There are two things wrong.

  1. You're declaring a variable without a name (var =0; , should be var i = 0;)
  2. You misspelled length

#3

thanks man it's working now