How did I do this


#1

var names = ["Alex"[1], "Steve"[2], "Max"[3], "Lopez"[4], "Bob"[5] ;
for (var i = 0; i < names; i ++) {
console.log (names);
}


#3

First, the array needs an end.
Also, the [1], [2], [3]..etc. shouldn't be necessary.
Finally, you need to put console.log(names**[i]**)


#4

1 Thread per Topic should be enough and @squirtleking's answer seems to be ok. Does it help?


#5

thanks everyone. This really help me in my studies