12. Laços e arrays II

portuguese

#1

// Clique em "Problemas? Leia uma Dica!" se tiver problemas!
var names = ["Dani", "Douglas", "Lala", "ABC", "AKSJKA"];

for (var i=0, i < names.length, i++) {
console.log("Eu conheço alguém chamado " + names[i]);
}

Qual o erro desse código? Só recebo Unexpected Token
What's the error of this code?


#2

@danim0it,
Please read
https://developer.mozilla.org/pt-BR/docs/Web/JavaScript/Reference/Statements/for


#3

I already know that.
I want to know what's wrong with my code.


#4

@danim0it
Read the article again
and have a =close look= at the SYNTAX...!!!


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.