27 loop the loop syntax error


for (var i = 0, i <= family.length, i++){
console.log (family[i].name);

I keep getting a "syntax error: unexpected token <="

I dont understand why it's throwing this error.


You have commas in between you should have semi colons ;


Derp! Oh good lord. Thank you! It works now.


You're welcome :green_heart:

Happy Learning :slightly_smiling:
Happy coding !

What inspired you to learn programming/coding?
Join the discussion